Bastien Serprix
Bastien Serprix
@2fd when would this feature be available in an official release ?
Same here, I followed the idea of @benr77 to create my own validator controller, matching the "ID" parameter from the referer route, but we should get at least the primary...
Okay no problem I think you're right :) Just a few minutes and I will commit it
@66Ton99 The problem is : how do I pass entity object from PHP to Js Model ? I saw `Fp\JsFormValidatorBundle\Model\JsModelAbstract::phpValueToJs()` function but it would be dirty to change code here...
You mean by creating a custom Constraint that will extends UniqueEntity constraint ?
Couldn't we just add the `$entityId` as public attribute in the `UniqueEntity` class ? That will cover 90% of the cases (I mean where entities have only ID as identifier...
Sorry but I don't agree with you, the only fact to include the variable `id` (**only, and only if it is accessible**) on both JS and PHP sides is global...
We encountered the bug on our side as well. We're planing to customize the `index.php` (target of the iframe) to add a link / button to open the link in...
Will the pull request include a modification concerning Symfony 3.3 in the composer.json ? Actually depedencies specify "~3.0" in the versions.