-1

I want to render a relation/association field (i.e. EntityType) in EasyAdmin as radio buttons. My setup:

- property: 'group'
  type_options:
      expanded: true

What I'm getting is:

o label.form.empty_value
o Admin
o User

How can I replace label.form.empty_value to something like "None"?

Thomas Landauer
  • 7,857
  • 10
  • 47
  • 99

1 Answers1

0

Just add a placeholder like this:

- property: 'group'
  type_options:
      expanded: true
      placeholder: 'None'
Thomas Landauer
  • 7,857
  • 10
  • 47
  • 99