#101750Console error when tabbing through EXT:form inspector of a new form element, that has not yet been persisted.
Description
form-console-error-tab-through.png
Tabbing through an elemenet is considered an “input” by
the browser, which is why the “input” even is triggered.
The result is an empty input element (as before), but
an intent is made to delete the underlying property
from the form element object model.
When the object model is empty (remeber, it is a new element),
and an input field refers to a nested property
(e.g. properties.fluidAdditionalAttributes.placeholder)
removing an element (e.g. ‘placeholder’)
will fail when the parent has not yet been set
(e.g. properties.fluidAdditionalAttributes)
core.js?bust=1692909490:911 Uncaught TypeError: Cannot convert undefined or null to object
at Object.unset (core.js?bust=1692909490:911:39)
at HTMLInputElement.<anonymous> (inspector-component.…=1692909490:1390:45)
at HTMLInputElement.dispatch (jquery.js?bust=1692909490:5468:27)
at elemData.handle (jquery.js?bust=1692909490:5272:28)
unset @ core.js?bust=1692909490:911
(anonymous) @ inspector-component.…ust=1692909490:1390
dispatch @ jquery.js?bust=1692909490:5468
elemData.handle @ jquery.js?bust=1692909490:5272