Hi,
I’d like to extend the behaviour of SelectItem: in few words, I just need a toolbar (or more generally a Canvas) on top of the picklist (or at the bottom if it is displayed above the field).
For that purpose I can act on addIconClickHandler() but I wonder how to move the drawn picklist when it is displayed, that is to say how to get a handler on it.
NOTE: my first efforts were based on the “custom picker example” but it doesn’t behave as a SelectItem
Any tips ?
Thanks !
Can you give a broader idea of the kind of control you are trying to build? What does it mean to the end user? It’s likely that starting with SelectItem doesn’t make sense - good advice can only be provided if you explain in depth what you are trying to achieve.
I’d like to add some buttons such as “add a new item” and “refresh the list” if it not up to date.
The “SelectOtherItem” widget is almost what I need except that it can’t have an icon, it belongs to the list so that if there are lots of items the user have to scroll to the end to click it (this is why I would prefer a separate button), and above all it is designed to enter a single value whereas I need to present another form.
Maybe the best solution would be to keep select item as is and just add the buttons by the side, but even that I don’t know how to place them in the form.
What do you suggest ?