Skip to content
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

Integrate with jquery data table, tagify throwing error on submit #1088

Open
vireddy87 opened this issue Aug 1, 2022 · 3 comments
Open

Integrate with jquery data table, tagify throwing error on submit #1088

vireddy87 opened this issue Aug 1, 2022 · 3 comments

Comments

@vireddy87
Copy link

vireddy87 commented Aug 1, 2022

Issue:- Getting error while integrating tagify with Jquery data table, text area control

We have jquery datatable which as textarea. Textarea uses tagify , when we are submitting data table we get below error
Jquery datatable https://datatables.net/

Error
core.mjs:6494 ERROR TypeError: Cannot read properties of null (reading ‘removeChild’)
at M.destroy (tagify.min.js:26:36936)
at M.observeOriginalInputValue (tagify.min.js:26:26616)
at timer (zone.js:2405:41)
at _ZoneDelegate.invokeTask (zone.js:406:31)
at Object.onInvokeTask (core.mjs:25595:33)
at _ZoneDelegate.invokeTask (zone.js:405:60)
at Zone.runTask (zone.js:178:47)
at invokeTask (zone.js:487:34)
at ZoneTask.invoke (zone.js:476:48)
at data.args. (zone.js:2385:32)

Code that causes error
_self.editor
.edit(jQuery(this).closest('tr'), false)
.set(field, val)
.submit();

Question do we need to do anything specify for tagify submit ? or removing child?

@vireddy87 vireddy87 changed the title Integrate with jquery database tagify throwing error Integrate with jquery databtable, tagify throwing error on submit Aug 1, 2022
@vireddy87 vireddy87 changed the title Integrate with jquery databtable, tagify throwing error on submit Integrate with jquery data table, tagify throwing error on submit Aug 1, 2022
@yairEO
Copy link
Owner

yairEO commented Aug 1, 2022

please edit your ticket.. have you seen how this looks? I cannot read or understand anything

@vireddy87
Copy link
Author

I have update content issue with using datatable with tagify

@yairEO
Copy link
Owner

yairEO commented Aug 11, 2022

Please create a minimal jsbin demo page so I could investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants