administrate-field-belongs_to_search
administrate-field-belongs_to_search copied to clipboard
Show dropdown options on focus
Currently one has to either start typing or make a space in the input field for items to be shown. Focusing on the field should be enough to show some items. Also, clicking on the dropdown arrow initially shows nothing. Which is a bit confusing.
However, after the items are generated, if I click outside of field, clicking inside it works as expected, as does the dropdown arrow.
So it would be ideal I think to preload the boxes on page load.
Hey @Branksy, thanks for dropping by. We're currently not working that actively on this Gem, so I'd love to see a PR for this if you have the time.
Also, this issue raises an interesting issue. You say "show some items". What should those items be, in your opinion?