Uncaught TypeError: Cannot read property 'yadcfState' of null
See original GitHub issueI see the following with 0.9.4-beta.28 (via yarn).
jquery.dataTables.yadcf.js:4275 Uncaught TypeError: Cannot read property 'yadcfState' of null
at saveTextKeyUpState (jquery.dataTables.yadcf.js:4275)
at keyUp (jquery.dataTables.yadcf.js:4261)
at jquery.dataTables.yadcf.js:4269
at jquery.dataTables.yadcf.js:901
This happens when I type into a column search field.
This is defined as:
{column_number: 0,
filter_type: 'text',
filter_default_label: 'Filter Vuln IDs',
regex_check_box: true,
filter_delay: 1500
},
Not sure if relevant, the datatables column has a render property:
{
data: 'vulnerability__vuln_id',
render: (data, _type, row, _meta) =>
`
<a href="${location.origin}/airshield/findings/${row.id}/">
${data}
</a>
`
},
Sorry, if this is not a bug in yadcf.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property of null - iDiallo
This will result in Uncaught TypeError: Cannot read property 'value' of null . The reason will be that the element with id input...
Read more >Cannot read properties of null (reading 'value') javascript ...
Uncaught TypeError : Cannot read properties of null (reading 'value') at HTMLButtonElement.document.getElementById.onclick (Login2.js:12:55).
Read more >Source - GitHub
... https://github.com/vedmack/yadcf/issues/482 - Autocomplete is not reading ... Uncaught TypeError: Cannot read property 'yadcfState' of null ## 0.9.3 ...
Read more >Uncaught TypeError: Cannot read property 'oFeatures' of null
I'm currently receiving an error: "Uncaught TypeError: Cannot read property 'oFeatures' of null" when I type into he filter.
Read more >Uncaught TypeError: Cannot read properties of null ... - Reddit
Uncaught TypeError : Cannot read properties of null (reading 'addEventListener'). I have a javascript file that loads on every page - one ...
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
Uhm, when I reinstall (beta 28 or 40, doesn’t matter) this behaviour disappears. Maybe I had the wrong beta (possibly 5, from npm) installed here.
fixed by https://github.com/vedmack/yadcf/pull/615