TextInputDialog:setInputType
From GiderosMobile
Available since: Gideros 2012.8
Class: TextInputDialog
Description
Sets the input (keyboard) type associated with the text field. The options are:
- TextInputDialog.TEXT: Default keyboard type
- TextInputDialog.NUMBER: Numeric keypad
- TextInputDialog.PHONE: Keypad designed for entering telephone numbers
- TextInputDialog.EMAIL: Keyboard optimized for specifying email addresses
- TextInputDialog.URL: Keyboard optimized for URL entry
<syntaxhighlight lang="lua">
TextInputDialog:setInputType(type)
</source>
Parameters
type: (string) Tnput type associated with the text field.