fragment instance issue
See original GitHub issueHi
Trying this component I get the following error:
Attribute ":model.sync" is ignored on component <vue-html-editor> because the component is a fragment instance
I’m using Vue 1.0.26.
What am I doing wrong?
Thanks!
Martin
Issue Analytics
- State:
- Created 7 years ago
- Reactions:16
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Best practice for instantiating a new Android Fragment
Best practice to instance fragments with arguments in android is to have static factory method in your fragment. public static MyFragment newInstance(String ...
Read more >Debug your fragments | Android Developers
All the Fragment instances are suffixed by an identifier so that you can track different instances of the same Fragment class. VERBOSE logging....
Read more >Fragment Instance Issue! - Laracasts
I'm just practicing with a my-button component with a type attribute which is used to add bootstrap classes. I tried encapsulating the internals...
Read more >Reattaching same Fragment instance fails · Issue #824 - GitHub
The issue is fixed by changing the calls from using the same Fragment instance (myFrag) to new myFragment() which is obviously not desirable...
Read more >Creating and Using Fragments | CodePath Android Cliffnotes
A fragment is a reusable class implementing a portion of an activity. A Fragment typically defines a part of a user interface. Fragments...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Haixing-Hu I’ve seen that you updated vue.js in the repo, I guess I’ve been looking at the wrong thing. I still get the problem above though. Here’s what I’ve did:
app.js
index.html
Create index.js
The solution by @timfeid with copying the vue-html-editor.js file to your local environment worked for me:
“Interesting, for some reason I was able to get this working by just copying vue-html-editor.js to my local. Using require(‘vue-html-editor’) fails, but using require(‘./vue-html-editor’) works without the div there as well.”
It would be great if this issue could be solved!