Description
Complete this component as per the designs specified in the Figma file.
Desired behavior/Acceptance criteria
- In view mode: should be the language chip with language ISO code followed by the represented string
- In edit mode: should be an editable input field with language ISO code chip (as per the designs below)
- Editing the input value should effectively change the Z11K2 field of the monolingual string object (already accomplished as part of default view POC task T321784)
- Must handle ZERO state (when a new ZMonolingual string is set, and no values exist for language and text)
- Must handle different value modes (e.g. language chip when Z11K1 is not a language reference but a language literal)
- Styles according to the attached designs
Devices and Design (URLs or screenshots)
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist