Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
714 stars 132 forks source link

Full reset of field when adding new sentences #3070

Open Guybrush88 opened 1 year ago

Guybrush88 commented 1 year ago

To Reproduce When you add a new sentence that fits within two separate lines in the adding field and you submit it, the field will still contain two lines, although this is reset when adding a new sentence that fits in just one line.

Steps to reproduce the behavior:

  1. Go to https://tatoeba.org/it/sentences/add
  2. Add a sentence which fits into two separate lines
  3. Click on the empty field
  4. See error

Expected behavior

When adding a new sentence, regardless of its length, the field should automatically be reset to just one line as soon as the sentence is submitted.

danail-georgiev commented 1 year ago

@Guybrush88 Hi, I would like to work on this issue but it seems I cannot reproduce it. Can you please provide more detailed info for 3rd and 4th points. May be a screenshot :)

Guybrush88 commented 1 year ago

This is the default view: default

This is a sentence appearing in two lines: frase1

This is how the field appears after I submitted the sentence: frase2