Closed CB-Joris closed 2 years ago
https://xmdocumentation.bloomreach.com/library/concepts/plugins/create-a-custom-field-validator.html
Above steps will not work withoud adding the validation id to the editor template in the yaml file. Took us 2 days to find out so please add this on this page.
frontend:references: [ wicket.model, model.compareTo, engine, validator.id ] frontend:services: [ wicket.id, validator.id ]
frontend:references: [ wicket.model, model.compareTo, engine, validator.id ]
frontend:services: [ wicket.id, validator.id ]
full_yaml_file.txt
Please add this to the documentation to help people in the future.
Thanks for the feedback and apologies for the missing info @CB-Joris , we'll try to pick this up asap.
I verified and confirmed this issue and added a "Troubleshooting" paragraph to the documentation page:
https://xmdocumentation.bloomreach.com/library/concepts/plugins/create-a-custom-field-validator.html#Troubleshooting
https://xmdocumentation.bloomreach.com/library/concepts/plugins/create-a-custom-field-validator.html
Above steps will not work withoud adding the validation id to the editor template in the yaml file. Took us 2 days to find out so please add this on this page.
frontend:references: [ wicket.model, model.compareTo, engine, validator.id ]
frontend:services: [ wicket.id, validator.id ]
full_yaml_file.txt
Please add this to the documentation to help people in the future.