Hi @stucork
Wonderful invention! However, I have an issue that I just cannot seem to resolve. I have a textbox. Depending on the text in that box when it loses focus, I trigger a popover from a link below that textbox. I check the text in the box when it loses focus, send some arguments to another function which triggers the popover.
I use a separate form when i trigger the popover, a form with an announce label and buttons etc. But try as I might, this form is ALWAYS the same as when the popover was first triggered.
Example:
In the text box is some text “Something” When it loses focus I want the popover form to say “Looks like a new item”, with buttons “Yes” and “No”
I therefore initiate and pass the appropriate arguments to the form. Then I activate the popover: my_link.popover(my_form,placement=“Top”,etc) and: my_link.pop(‘show’)
All good.
Now, I change the text box text to “” (blank). When it loses focus I want the popover form to say “You must type something”, with button “OK”.
I therefore initiate and pass the different arguments to the form. Then I activate the popover: my_link.popover(my_form,placement=“Top”,etc) and: my_link.pop(‘show’)
But even though the form has received the new, different arguments, in the popover it is still the same as the first case, with “Looks like a new item”, with buttons “Yes” and “No”.
I just cannot seem to update the form once it’s been given to that link’s popover. I’ve tried to dispose of the popover when the OK or NO button in the form is pressed. Get an error (unrecognised behaviour: dispose.
I’ve tried refreshing data bindings. Nothing different happens
I’ve tried my_link.pop(‘update’), then my_link.pop(‘show’). Nothing different happens.
I guess it comes down to this question:
How do I update the popover’s form or content on a specific button or link before i show it again?
Thanks in advance!