You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
form multipart: true, direct_upload: true do |f|
f.input :regions, as: :tags, collection: Investor.regions.keys
end
My model enum looks like this for the enum: enum regions: [:berlin, :dusseldorf, :hamburg, :hannover]
And finally I get no options being listed in my dropdown and a web error that there are no matching ids for my laber for (check screenshot bellow)
To Reproduce
You can create any model with my enum definition, then create a form for that model with the input as I started describing and that should be enough to test.
Expected behavior
Select dropdown showing collection options and enabling to select multiple ones
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a normal form as follows:
My model enum looks like this for the enum:
enum regions: [:berlin, :dusseldorf, :hamburg, :hannover]
And finally I get no options being listed in my dropdown and a web error that there are no matching ids for my laber for (check screenshot bellow)
To Reproduce
You can create any model with my enum definition, then create a form for that model with the input as I started describing and that should be enough to test.
Expected behavior
Select dropdown showing collection options and enabling to select multiple ones
Screenshots
The text was updated successfully, but these errors were encountered: