FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
114 stars 19 forks source link

Can't clear "Hint Text" from an "EditField" #3415

Open esiemann opened 1 month ago

esiemann commented 1 month ago

Can we access your project?

Current Behavior

When assigning a "Hint Text" to a TextField in FlutterFlow, multiple empty fields for translation are automatically generated in the languages screen. However, there is no direct way to delete these empty translations if a value is later entered in the original text field. The only workaround found so far is to recreate the EditField.

Expected Behavior

FlutterFlow currently doesn't allow disabling translations for empty "Hint Text". It would be helpful if it ignored empty translations or provided a button labeled "Disable translations of this text" to disable the translation option for specific fields. As a workaround, I had to recreate the TextField.

Steps to Reproduce

  1. Create a new Project

  2. Add 2 languages

  3. Create a new Page

  4. Add an EditField to a Home with 2 languages:

screenshot50

  1. The languages ​​screen correctly shows translated texts:

screenshot47

  1. Then fill in the "Hint Text" with some value:

screenshot51

  1. Delete the "Hit Text":

screenshot52

  1. Go to languages screen, an empty field is shown:

screenshot55

If you repeat the same process, there are still many empty translations:

screenshot60

Reproducible from Blank

Bug Report Code (Required)

IT4gz/Hqx89godtE17XqLO9VliMRNnI+aoc0sdlud0wdCoDuBIk+ZPWlbhNWOdfhd2x6P0SmmTsx0s7zvofiGvE3FzaBfoBk1KVQWA3hWnuua5OBCcyKS3BRN5hnIWLA1MPQuxNSWfdpcVIu7E+MfOjKTXbvQpzBImdISq/LZO4=

Visual documentation

screenshot60

Environment

- FlutterFlow version: 4.1.72
- Platform: Web
- Browser name and version:  Chrome 126.0.6478.126, Firefox 128.0
- Operating system and version affected: Linux Ubuntu 22.04

Additional Information

No response

Alezanello commented 1 month ago

Hello!

Thank you for bringing this to our attention. I was able to replicate the issue and understand the inconvenience it causes. I will forward this to our engineering team for review and a possible fix, including the addition of the delete button as you suggested.

Thank you again!