publiccode-editor icon indicating copy to clipboard operation
publiccode-editor copied to clipboard

switching between languages deletes all input

Open Smart-City-Muenster opened this issue 2 years ago • 1 comments

Subject of the issue

If you want to generate a publiccode.yml with more than one language, you might run into a deletion of your text without warning. This happens when you switch between languages (maybe only if you forgot to click "generate" at least once).

Steps to reproduce

  • Go to https://publiccode-editor.developers.italia.it/
  • add another language
  • type in some text in some fields
  • click on the other language in the top row
  • click back on the first language

Expected behaviour

Text should be preserved when switching languages. Potentially (but that would be a feature request not a bug report), for the first time switching to a second language, the text fields are filled with input from the other language (to know what to translate).

Actual behaviour

The text is gone without any warning. Especially if you wrote a relatively large amount without clicking "generate" this is quite frustrating.

Smart-City-Muenster avatar May 25 '22 13:05 Smart-City-Muenster