ludo.form.SubmitButton

ludo.form.


new ludo.form.SubmitButton(config)

Special Button for form submission.
This button will automatically be disabled when a form is invalid, and automatically enabled when it's valid.
A form consists of all form elements of parent component, including form elements of child components.

Parameters:
Name Type Description
config Object
Properties
Name Type Description
applyTo string

Reference to a View. The submit button will call ludo.$(config.applyTo).getForm().submit()

Source:

Extends

Methods


click() → {undefined|Boolean}

Trigger click on button

Inherited From:
Source:
Returns:
Type
undefined | Boolean

getToggleGroup() → {Object}

Return instance of ludo.form.ToggleGroup

Inherited From:
Source:
Returns:

ludo.form.ToggleGroup

Type
Object