Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Form.getConfig

$form.getConfig() -> map

Description

Get the form’s initial configuration Map.

$form = Form.create('comentForm', {
    comment: {
        rule: 'comment|max:1000',
    },
})

$form.getConfig().comment.rule
//= 'comment|max:1000'

See Also