Closed catalinbuletin closed 6 years ago
Hello,
I can't seem to be able to use the enum type.
enum
in my config, i have uncommented this line:
'mapping_types' => [ 'enum' => 'string' ]
And in the mapping I use it like this: $builder->field('enum', 'someField');
$builder->field('enum', 'someField');
Do I need to do something else to make it work?
Thanks a lot!
Can you specify what you mean with "can't seem to be able to use". Do you get errors?
Hey! I can't remember what that issue was. It's 3 months old. It's working now, so i'll close this issue
Great 👍
Hello,
I can't seem to be able to use the
enum
type.in my config, i have uncommented this line:
And in the mapping I use it like this:
$builder->field('enum', 'someField');
Do I need to do something else to make it work?
Thanks a lot!