Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.3.7
-
None
Description
I'm trying to define an attribute as required with the following config
ez_platform_form_builder: fields: button: attributes: notification_email: validators: required: options: {}
Opening the editor gives me an error Message when i try to edit that field: "Notice: Undefined index: message". Called inĀ in vendor/ezsystems/ezplatform-form-builder/src/lib/Definition/Validator/ConstraintFactory.php (line 43)
When i add the field "message"
ez_platform_form_builder:
fields:
button:
attributes:
notification_email:
validators:
required:
options: {}
message: "required"
it gives me another error "The option "message" does not exist in constraint "Symfony\Component\Validator\Constraints\Required"."
So there is no way to mark the attribute as required