XBlock - Dynamically adding of DOM Elements are not Saving after i click Save Button

11 views
Skip to first unread message

Raj Shah

unread,
Apr 24, 2019, 10:41:38 AM4/24/19
to General Open edX discussion
Hello everyone,

I am having a problem while saving my xblock.

I added field named "Seconds" every time whenever 'Add Seconds' button is clicked in studio view, clone of "Seconds" field is added to DOM and after adding seconds to this field and click save, it removes the fields of "Seconds" For example..If i add 3 fields of seconds and save it, and after i edit the XBlock again,all that 3 fields of "Seconds" are deleted automatically and values are not saving too, other fields' values are saving

I am using mixin named "StudioXblockMixin" from 'xblockutils' package, and i used same javascript and html as given in that package,

I can't find the solution,

Anybody has Solution?

Thank you in Advance..
Reply all
Reply to author
Forward
0 new messages