JsFormValidatorBundle
JsFormValidatorBundle copied to clipboard
The Javascript validation for Symfony 2, 3 and 4 forms
A few small changes to permit Symfony 5 compatibility.
There is a fault with `Url` constraint. Every time I type a character into a URL field, it prepends `http://` so I end up with `http://http://http://http://http://http://http://thestartofmyurl` etc. It looks like...
I use Barba.js for dynamic page transitions. Validation does not work for forms that are loaded dynamically. The model is generated correctly, but the validator is not initialized. Is it...
Currently, the button clicked to submit the form is not preserved and therefore not included in the request sent to server, because this package calls `event.preventDefault`, then, if the form...
For example this annotation ``` public $start_date; /** * @Assert\GreaterThan(propertyPath = "start_date", message = "End smaller than start") */ public $end_date; ``` Will be processed with GreaterThan like it should...
Hello, I'm trying to install the bundle but when executing the cache script, I've : In JsFormValidatorTwigExtension.php line 13: Attempted to load class "Twig_Extension" from the global namespace. !! Did...
For building docker container we have to run `asset:install` command, `npm installs` (from root and from test project) and in test project we have to run `npm run build` command....
We have ran into an issue with validation triggering and comparing if the form is valid. FpJsCustomizeMethods.validate({'recursive': true}) (ie: form.jsFormValidator('validate', {'recursive': true}) will always return false since .FpJsFormElement.validateRecursively() (https://github.com/formapro/JsFormValidatorBundle/blob/master/Resources/public/js/fp_js_validator.js#L47) has...
The issue occurs in the 'addPrototype' method. `var prototype = FpJsFormValidator.preparePrototype( FpJsFormValidator.cloneObject(item.jsFormValidator.prototype), name, item.jsFormValidator.id + '_' + name );` The third parameter of the method 'preparePrototype' is the 'Id' of...