$el.empty() causing component:remove trigger #3976
Unanswered
confettidc
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
HI all,
I'm writing an advanced image component which can read different images in desktop and mobile views as below:
I found that model's removed() function was triggered when called $el.empty() before ajax in view, which is auto-delete db record after add.
Any hints to replace component content without emptying previous data?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions