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
Error while trying to create a prompt window using vuejs #3
Comments
@metroidpam hey there, when do you render your component. Seems like the document.body isn´t available at the time. |
I tried to render the component after clicking this button The script where component is used : https://github.com/metroidpam/inventaire-front/blob/master/admin/scripts/admin.js |
I will give you a fix tomorrow. :)
Von meinem iPhone gesendet
… Am 28.08.2020 um 20:43 schrieb metroidpam ***@***.***>:
I tried to render the component after clicking this button
The script where component is used : https://github.com/metroidpam/inventaire-front/blob/master/admin/scripts/admin.js
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No problem, thank you very much anyway for providing such a cool tool and helping out with any problem! |
@metroidpam please get the new attention.js file from the dist. This should for now for you. Feel free to reopen the issue if the problem is still there. |
restock:function(item){ new Attention.Prompt({ title: 'Quantité de ' + item.item_name, content: '', onSubmit(component, value) { console.log(value) } }); },
The text was updated successfully, but these errors were encountered: