ludo.form.ResetButton

ludo.form.


new ludo.form.ResetButton(config, config)

Special Button used to reset all form fields of component back to it's original state.
This button will automatically be disabled when the form is "clean", and disabled when it's "dirty".

The Reset button extends ludo.form.Button.

Parameters:
Name Type Description
config Object
config String

applyTo. The reset button will be a reset button for the View(including child views) with this id.
A press on this button will trigger ludo.$(applyTo).getForm().reset()

Source: