vivomedia / neos-ui-json-validator
Json Validator for Neos UI
Installs: 730
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:neos-plugin
Requires
- neos/neos: *
- neos/neos-ui: *
This package is auto-updated.
Last update: 2024-10-16 14:47:29 UTC
README
A validator plugin for NeosUI to check properties for valid JSON strings.
Install
Install with composer
composer require vivomedia/neos-ui-json-validator
Usage
To use the validator on a property, just add VIVOMEDIA.NeosUI.JsonValidator/Validation/JsonValidator
to the validation within your NodeType definition.
Example:
'Some.Of.Your:NodeTypes': properties: jsonString: type: string ui: label: 'JSON Data' validation: 'Neos.Neos/Validation/NotEmptyValidator': [] 'VIVOMEDIA.NeosUI.JsonValidator/Validation/JsonValidator': []
See also: