Review 11.5 Merged

72253[BUGFIX] Dispatch change event for updated input field

Oli Bartsch CR +2 V +2 Easy +3 −0 updated 11/19/21, 22:11

Commit message

The RequestUpdate component, handling the
TCA "onChange" functionality, adds an event
listener to the main HTML field. In case of TCA
type "input", this field never dispatches such
event, because the user always changes the
"human readable" field in the GUI.

The main field is only updated manually by
FormEngine after validating the new value.
Therefore, the "onChange" property never
had any effect for TCA type "input" fields.

This is now fixed by dispatching a "change"
event for the main field after its value has
been updated.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1