Bug #101750
closedConsole error when tabbing through EXT:form inspector of a new form element, that has not yet been persisted.
100%
Description
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
Files
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80671
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80729
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80733
Updated by Anonymous about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f350c107a6062be3d7cda9ec06469f5d2f708a75.