| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -Type of the input component. Available values include text, email, date, time, number, password, button, checkbox, and radio. -The text, email, date, time, number, and password types can be dynamically switched and modified. -The button, checkbox, and radio types cannot be dynamically modified. Available values include: -
|
-
| - | -- | -- | -- | -Whether the <input> component is selected. This attribute is valid only when type is set to checkbox or radio. - |
-
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -Value of the input component. When type is radio, this attribute is mandatory and the value must be unique for radio buttons with the same name. - |
-
| - | -- | -- | -- | -Content of the hint text. This attribute is available only when the component type is set to text, email, date, time, number, or password. - |
-
| - | -- | -- | -- | -Maximum number of characters that can be entered in the input box. If no value is specified, the number of characters is not limited. - |
-
| - | -- | -- | -- | -Dynamic modification is not supported. - -
|
-
| - | -- | -- | -- | -Icon resource path before text input. This icon does not support click events and is unavailable for button, checkbox, and radio types. The supported icon image formats are JPG, PNG, and SVG. - |
-
| - | -- | -- | -- | -Whether to display the character counter for an input box. This attribute takes effect only when maxlength is set. - |
-
| - | -Array<MenuOption> - |
-- | -- | -- | -
| - | -- | -- | -- | -- - | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -Whether to display the icon at the end of the password text box. The setting is valid only when type is set to password. - |
-
| - | -- | -- | -
|---|---|---|
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -Whether the font size changes with the system's font size settings. - - |
-
| - | -- | -- | -- | -Color of the hint text in the single-line text box. This attribute is available when the component type is set to text, email, date, time, number, or password. - |
-
| - | -- | -- | -- | -Font weight of the single-line text box or button. For details, see font-weight of the text component. - |
-
| - | -- | -- | -- | -- | -
| - | -- | -- | -
|---|---|---|
| - | -- | -Triggered when the checked status of the checkbox or radio button changes. - |
-