cesurapp / pd-admin

Powerful Admin Dashboard for Symfony 5
MIT License
95 stars 20 forks source link

On Edit Authorization(Route: admin_group_roles) unable to save #14

Open hwde opened 4 years ago

hwde commented 4 years ago

Click on "Save": The following error is logged to browser console:

An invalid form control with name='roles[acl]' is not focusable.

so the form doesn't get submitted.

hwde commented 4 years ago

Adding "novalidate" to the form solve it ... see: https://stackoverflow.com/questions/22148080/an-invalid-form-control-with-name-is-not-focusable

hwde commented 4 years ago

Well, it is the radio-group "Access Control". If nothing is selected Chrome can't save. Maybe it should be catched by script and notified to the user ...