-
Previously, `fieldChangeFunc` items have been declared as string and were forwarded as plain inline JavaScript to the client application using HTML attrs `onchange` and `onclick`. This change introduces semantic objects for those `fieldChangeFunc` items that either can be used as structured configuration (JSON) or still "serialized" to inline JavaScript for legacy applications. New `OnFieldChangeInterface` provides a hybrid component that is backward compatible and still supports inline JavaScript as fallback. Using scalar (string) instructions for `fieldChangeFunc` will trigger PHP deprecation errors. Resolves: #91787 Releases: master Change-Id: I691ea8d12accfcf1568c34e178ce2087fd6ef609 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71072 Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: core-ci <typo3@b13.com> Tested-by: Jonas Eberle <flightvision@googlemail.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Oliver Hader <oliver.hader@typo3.org> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
757f82d1