Replies: 1 comment 3 replies
-
Hey @buncis! Thanks for the suggestion. My current vision for something like this is that you should architect your application with either single-table inheritance or delegated types, such that you can pass all options in a single activerecord relation to the combobox, across different models. Is there any reason this wouldn't work for you? If so, happy to consider other approaches. An API proposal would be good, though, as I'm not able to picture a multi-model one, currently. Once we support grouped collections, which I do want to do eventually, we can match on the type column of the relation to group the options. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
kinda like grouped collection select, but not it
in my current use case, I have a model with polymorphic
belongs_to
so on my current typeahead combobox implementation
I have one field to show the selections of models, and one fields to select certain record of that models
Beta Was this translation helpful? Give feedback.
All reactions