culturecreates / footlight-app

Footlight CMS Front-end
https://cms.footlight.io
3 stars 0 forks source link

language literal not working when saving a new event #1390

Closed troughc closed 1 month ago

troughc commented 1 month ago

steps

  1. create a new event with multiple languages
  2. save as draft.
  3. Reopen event - languages displayed in read-only
  4. language literals properly displayed in edit form. Edit one of the language literal so that the tag goes away. Save as a draft.
  5. reopen the event and see that some data is corrupt. These corrupt data belong to those fields whose language literals user edited before saving.

Additional issues:

In Editor, the language literal tag will not disappear when the user interacts with the component. This will cause corrupt data to be sent to the backend.

The redux store is not getting updated when the field is touched (only happening for the editor).

troughc commented 1 month ago

Tested: PASSED