Yannick

Results 10 comments of Yannick

I made it work like the following In the twig file, put in your scripts the needed call as described in doc ```twig ... {{ encore_entry_script_tags('app') }} ``` create a...

yes, the workaround is in your supports function allow even if it's not an instance of the entity (in your case User) and then in the voteOnAttribute check if the...

you can also set the permission per action... I've not tested to assign the global permission and then the permission for a specific action... it might override the first one...

@gbelorgey the issue here is that the Voter mechanism is based on the VoterInterface of Symfony which does not support more than 2 parameters for the supports function ($attribute &...

Thanks for the proposition and ideas. I didn't thought about the deprecation but if you add the service a a Closure in the DI as well, wouldn't the deprecation not...

@xabbuh the Use case is to get the score of any string (the target would be to display a sort of score visualization when the user fills the password on...

the idea is to provide the information before the validation is performed (while they are typing) but using the same algo/checks that will be done during the validation

I've rollback-ed the changes to make only the function estimateStrength public in the Validator.

No problem. Thanks for the review and support 👍

@javiereguiluz I missed to check the other PRs :( and it seems quite close to the #6833. the addition here is a complete handling of the display also for inline...