ui5-webcomponents
ui5-webcomponents copied to clipboard
[Text-Area][Bug] NPE if provided value is null
Using a text area, if the value is null, the replace function called will fail.
Here is the stacktrace of the console:
TextArea.js?afc7:330 Uncaught TypeError: Cannot read property 'replace' of null
at HTMLElement._tokenizeText (TextArea.js?afc7:330)
at HTMLElement.onBeforeRendering (TextArea.js?afc7:264)
at HTMLElement._render (UI5Element.js?64a9:425)
at renderWebComponents (RenderScheduler.js?cdc5:80)
Hi @mehdijouan
Could you provide reproducible example in CodeSandbox? By null you probably mean empty string?
Best regards, Filip
I cannot reproduce it in codesanbox. As I user Vue.js (forgot to mention it) it may be due to binding issue.
I'll close the issue until I'm able to reproduce it.
Thanks, Mehdi.