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'
Get the form’s initial configuration Map.
$form = Form.create('comentForm', {
comment: {
rule: 'comment|max:1000'
}
})
$form.getConfig().comment.rule
//= 'comment|max:1000'