Uncaught TypeError: e.replace is not a function
See original GitHub issueThere is an issue with the latest 3.0.4 branch that was caused by this commit.
https://github.com/jshjohnson/Choices/commit/394bde313d0f8a50b4c2b9d64d35b76ded68a515
The issue is that when I have select items that are objects, this fails with the following error.
Uncaught TypeError: e.replace is not a function
at t.stripHTML (formio.full.js:16252)
at Object.addItemText (formio.full.js:16250)
at e.value (formio.full.js:16250)
at e.value (formio.full.js:16250)
at e.value (formio.full.js:16250)
It seems pretty clear that this was written for the select options that are strings, but did not take into account the select options that are objects where replace
is not a function.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Uncaught TypeError: e.replace is not a function #377 - GitHub
The issue is that when I have select items that are objects, this fails with the following error. Uncaught TypeError: e.replace is not...
Read more >var.replace is not a function - javascript - Stack Overflow
My guess is that the code that's calling your trim function is not actually passing a string to it. To fix this, you...
Read more >Why am I getting "TypeError: e.replace is not a function" using ...
Why am I getting "TypeError: e.replace is not a function" using SearchManager with eval in the search? ... new SearchManager({ id: "mysearch1", earliest_time:...
Read more >TypeError: replace is not a function in JavaScript | bobbyhadz
The "replace is not a function" error occurs when we call the replace() method on a value that is not of type string...
Read more >e.replace is not a function - WordPress.org
[This thread is closed.] Dear Team, Since long there is some issue with Site Kit, Before I was getting blank screen on my...
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 FreeTop 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
Top GitHub Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hopefully, this issue can be resolved soon…