Passing forms to the builder
Providing forms
Default form in starting configuration
defaultForm: {
// Form
},
defaultForm: {
structure: {
title: 'Form title',
fields: {
email: {type: 'email', label: 'Email'},
password: {type: 'password', label: 'Password'},
submit: {type: 'submit', label: ' ', attributes: {value: 'Login'}},
},
layout: [
['email', 'password', 'submit']
]
}
},

Disable editing for a field
Attribute
Applies to
Type
Default value
Indicate when a field can be toggled off
Attribute
Applies to
Type
Default value
Toggle off a field when loading a form
Attribute
Applies to
Type
Default value
Here is an example:


Implementing a content dialog

Last updated
Was this helpful?

