How I can open a popupmenu when I click dialogbutton on formitem?
Printable View
How I can open a popupmenu when I click dialogbutton on formitem?
A popup menu or a popup dialog?
In desktop or web?
A “dialog button” is used to popup a “dialog”…
In desktop and web.
I need show a list with options.
I don't know when todo this with dialog.
Why not just use a Combobox?
Because I need execute another action, similar the postal code. But user need select the appropriate action.
Look at example_webapp1 dialog button delegate or use autosuggestions from a table.
Can I see the code used to create the sample below?
https://www.lianja.com/doc/index.php/Popupmenu
That is desktop specific.
I think what you are asking for is something new such as:
Lianja.showDropDownMenu("page1.section1.formitem1" , "one, two,three", function(itemSelected) { ... });
Submit an ER if thats what you need.