Skip to content
Snippets Groups Projects
Commit af44b1b9 authored by Grégory Jaouën's avatar Grégory Jaouën Committed by waldhacker
Browse files

[BUGFIX] Fix the Formelement selection button on first use

Fix the Formelement selection button on first use. The variable
`propertyData` might be a string and the expression
`getCurrentlySelectedFormElement().get(propertyPath)` can return
an undefined value.
The OR operator `||` is used instead of the nullish coalescing
operator `??` on browser compatibility purpose.

Resolves: #92911
Releases: master, 10.4
Change-Id: Icd0333061edccef4ee0af00abb34dbb56306fe63
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66876


Tested-by: default avatarBjörn Jacob <bjoern.jacob@tritum.de>
Tested-by: default avatarwaldhacker <hello@waldhacker.dev>
Reviewed-by: default avatarBjörn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: default avatarwaldhacker <hello@waldhacker.dev>
parent 69b7946d
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment