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