Basic #
This is the most basic usage of RegateTextMulti
.
Regate.RegateTextMulti.init({
id: 'basic-example',
name: 'Names',
})
Value #
With value
property you can set an initial value for your textbox.
Regate.RegateTextMulti.init({
id: 'value-example',
name: 'Names',
value: 'Amazon\nMicrosoft\nGoogle\nGitHub',
})
Required #
You can required your field with isRequired
property.
Regate.RegateTextMulti.init({
id: 'required-example',
name: 'Names',
isRequired: true,
})