# label
Start from base library version 1.0.0. Please remaining backward compatible.
Used to improve the usability of form components.
Use the for attribute to find the corresponding id, or place the control under the label, which triggers the corresponding control when clicked. For takes precedence over internal controls, and the first control triggers by default when there are multiple controls inside. The controls you can bind to are:button, checkbox, radio, switch。
attribute | type | Default value | Required | Introductions | Minimum version |
---|---|---|---|---|---|
for | string | no | Binding control id | 1.0.0 |