Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in displaying dynamic content in webuipopover #269

Open
renjininair opened this issue Mar 14, 2018 · 0 comments
Open

Issue in displaying dynamic content in webuipopover #269

renjininair opened this issue Mar 14, 2018 · 0 comments

Comments

@renjininair
Copy link

On a button click , i need to show dynamic content in webuipopover ,based on the input values in the form.
lengthyFunction() is fetching the dynamic data based on the inputs.

On first click it is showing correct data.
When the button is clicked after changing the input values, a different result is expected.
but webuipopover shows the old data.
When the button is clicked again, it is showing correct data in webuipopover.

Please help me to ensure the visibility of popover only after completing a lengthy function call.

Eg code:
jquery(selector).webuiPopover({
closeable:true,
type:'async',
cache:false,
content: function() {
lengthyFunction();
return jquery('.className').html();
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant