formbuilder
formbuilder copied to clipboard
Error in error message from validateLength in Control class
Actual behavior:
- If the criterias are not met for minlength or maxlength an error is thrown with a message error defined in Element.php
- The error thrown is: Unknown variable '$' in error messge.
- The message is: "Please use at least {@minlength} characters for this text (you are currently using {$length'} characters)"
Expected behavior:
- No error should be given when displaying the error message.
Description:
- Create a Textarea
- Use validation for minlength/maxlength but don't respect the condition imposed by the validation