cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Product cockpit - dropdown filter on enum type

0 Likes
613

Hi,

I can add enum field in backoffice config with ful:field name="enumField" and it shows up in filters. Problem is that input field is text and not dropdown. Can I somehow configure enum field filter to show up as dropdown ?

BR, Josip

Accepted Solutions (1)

Accepted Solutions (1)

former_member638520
Contributor
0 Likes

Hi,

Have you tried to use 'editor' property? For example:

 <ful:field name="name" editor="com.hybris.cockpitng.editor.defaultenum"/>

Of course you can change editor to your custom implementation:)

Regards,

Lukasz

0 Likes

Thanks, this seems to work. I guess I'll have to write custom editor since this one returns empty list, but that should not be problem.

Answers (0)