Khandaker Toihidul Islam
Software Engineer
Backend : PHP | Mysql | Symfony | CakePhp | Wordpress | Drupal
Frontend : Node js | Vue js | React Js | Javascript | HTML | CSS | Bootstrap
Tools , Server : Nginx | Apache | Git | Jenkins | Jira | Asana | Silenium | Spira

Empty data in selectBox of Easy Admin

Need to set :
multiple: false
expanded: false,
required: false
It works for me .
type_options: { required: false, multiple: false}

More details: https://symfony.com/doc/current/reference/forms/types/choice.html#empty-data

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *