Skip to main content

Number Field

This is a field for entering numerical information.

num_anatomy.svg

1. Root : The top-level container area that wraps the entire number field
2. Label : The element entered by the user
3. Cursor : The cursor element that is provided when you can enter text
4. Field : The area where the user enters information


States

StateValueDescription
ValueStringText information entered in the Text Field
FocusedTrue / FalseSwitch to True when the Text Field area is recognized during touch or voiceover access
DisabledTrue / FalseIf True, access to the Text Field is disabled. The focused state does not work
Read OnlyTrue / FalseIf True, the Text Field can access the input value but cannot change it. The focused state is active
InvalidTrue / FalseA state that checks whether the input value is valid or not

num_states.svg



Properties

StateValueDescription
SizeLarge, MediumThe size of the text field

num_size.svg