-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
MessageBox does't work #119
Comments
Make sure you're using |
I just tried example in the document. However it gives me warnings like this
|
While I can see no such problem: https://codepen.io/wxsm/pen/KyxVOg |
I have too much nested vue instance. Can it be related ? |
I don't think so. Maybe you can try reproduce the problem you found in some place such as codepen? I can do nothing if I can't reproduce it. Thanks. |
we are using browserify for the SFC compiling. Is there any problem working with browserify? |
I have not try with browserify, but it is supposed to work with commonjs / es6 env. If other components work as expect then this one should be the same. Maybe you can try to import and use it individually and see what happens: https://uiv.wxsm.space/message-box/#import-individually |
I'm seeing the same issue. const label = await MessageBox.prompt({
title: 'Column Rename',
content: 'Please set your preferred name for this column',
}) Results in
It seems to stem from the For reference, I'm also using this via browserify + vueify |
ok. I see the problem now by testing on a browserify project. this is very strange since it only appears in |
I can solve this by changing my vuejs in project to For example, in
or in the entry of the app: import Vue from 'vue/dist/vue.runtime.common'
import * as uiv from 'uiv'
Vue.use(uiv) Both of them will show no warnings anymore. but I still don't know why... |
@wxsms it worked !!! 👍 thank you |
Closing since have a solution and not a bug of this lib. |
Version & browser
0.14.1
Which component
MessageBox
Steps to reproduce the problem
I want to normally use it
Expected behavior
show me a normal message box without errors
Actual behavior
it gives me errors from modal component
$attr
and$listeners
The text was updated successfully, but these errors were encountered: