I have two forms that show “null” inside my textarea field, instead of just showing an empty field. This happens after I parse or load data into my form that contains an empty (null) field. It’s weird, because I can’t seem to create a snippet that illustrates the problem. It works fine in the snippets. But I use the same webix-version.
This problem only exists in IE(11). Any idea what the reason could be? If I remove the variable from my data-object, it’s fine too, but that’s not possible in my current architecture.
Same problem here. Unfortunately you can’t show it in the snippet.
I’m using simple setValue on textarea component: var apiDataJSON = data.json().api_data $$(uiUwagiTextarea.id).setValue(apiDataJSON.wfmag_uwagi)
If “wfmag_uwagi” element will be null the code flow hangs on that line.
The workaround I’m using is to add “|| undefined” var apiDataJSON = data.json().api_data $$(uiUwagiTextarea.id).setValue(apiDataJSON.wfmag_uwagi || undefined)
Now if “wfmag_uwagi” field is null it will be switched to undefined.
I use webix debug version and the code flow hangs on onChange event of textarea.
Strange is that it hangs when you change value from some text to null.
From Chrome console:
[textarea@view1529961255090] event:onchange
(2) [“uwagi_test”, undefined]