Last active
February 12, 2024 10:54
-
-
Save DenisMir/d35975a19db8534ee8f752c50406c595 to your computer and use it in GitHub Desktop.
TYPO3 ext_form custom form element configuration including validators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FirstName: | |
__inheritances: | |
10: 'TYPO3.CMS.Form.prototypes.standard.formElementsDefinition.Text' | |
renderingOptions: | |
templateName: 'Text' | |
label: 'Custom First Name' | |
defaultValue: '' | |
properties: | |
fluidAdditionalAttributes: | |
placeholder: 'Insert custom first name' | |
required: required | |
minlength: '1' | |
maxlength: '20' | |
validators: | |
- | |
identifier: StringLength | |
options: | |
minimum: '1' | |
maximum: '20' | |
- | |
identifier: NotEmpty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- | |
type: FirstName | |
identifier: firstname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment