Inside Buttons
You can also add buttons to fields.
Properties
Property | Default | Accepted values | Description |
classes | none |
| CSS classes for the button |
label | none |
| Caption of the button |
onclick | none |
| Triggered when click on the button |
type | "button" |
| The HTML "type" attribute for the button, defaults to "button" |
Example
The below example uses two buttons to read the location of the user and clear the location value.
Last updated