Following T198203, now when a gloss language code is incorrect, the "Publish" button is blocked and an error message appears.
This behaviour is correct, but when I start typing a language code, for example "fr", as soon as I type the "f", the field immediately gets red, the error message appears, and that's confusing, since I didn't finish typing the code.
Ideally, we would have a solution to keep blocking the save button and warning the user, while letting them the time to type the language code quietly.
Here's what I suggest:
- keep the Publish button blocked as long as the language code is incorrect
- wait 5 seconds and check again before displaying the error message and coloring the field in red