@vectoriox/iox-builder 4.21.0 → 4.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9851,6 +9851,11 @@ class FormComponentConfig extends ComponentConfig {
|
|
|
9851
9851
|
{ label: 'As you type', value: 'live' },
|
|
9852
9852
|
], 'smart'),
|
|
9853
9853
|
new TraitConfig('resetAfterSubmit', 'Clear the form after submit', TraitInputType.Checkbox, undefined, false),
|
|
9854
|
+
// Board 11 — "when it fails". Both default ON: they are what a well-behaved form does,
|
|
9855
|
+
// and an author turns one off deliberately. Edited in the Form Studio's States tab,
|
|
9856
|
+
// which is why they carry no SectionLabel of their own here.
|
|
9857
|
+
new TraitConfig('focusFirstProblem', 'Jump to the first problem', TraitInputType.Checkbox, undefined, true),
|
|
9858
|
+
new TraitConfig('announceFailure', 'Announce it out loud', TraitInputType.Checkbox, undefined, true),
|
|
9854
9859
|
new TraitConfig('__spamLabel', 'Spam protection', TraitInputType.SectionLabel),
|
|
9855
9860
|
// On by default and invisible to the visitor (decision D12).
|
|
9856
9861
|
new TraitConfig('honeypot', 'Honeypot field', TraitInputType.Checkbox, undefined, true),
|