FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Regex Field Converts :( Sequence into Emoji in Text Input Validation #4856

Open Atomiqui opened 1 week ago

Atomiqui commented 1 week ago

Can we access your project?

Current Behavior

When I paste a regex pattern into the text input validation field, any instance of :( within the pattern is automatically converted into an emoji.

Attached is a screenshot of the issue: image

Expected Behavior

The regex pattern should be pasted exactly as written.

Steps to Reproduce

  1. In any FlutterFlow project, add a TextField inside a Form.
  2. Select 'Custom Regex' in the 'Text Validator' field.
  3. Paste the following regex: ^([01]\d|2[0-3]):([0-5]\d)$

Reproducible from Blank

Bug Report Code (Required)

IT4CzcmBw412oblE7rXubsFFoDosJlg5RYI4msBuZwI0N5PQDLN/ds/AP0tVOe2jT2xIPlmcp1410NbJhuzXDfFeEwWtG6pi1ZNcZBfheHGWb4uTF7mwTnBtN/5jfGK+0LTQuxR/IrB1cnA161+uON+uQjDrJpO2IlQ8Sq/LZO4=

Visual documentation

image

Environment

- FlutterFlow version: v5.0.9
- Platform: Desktop app
- Browser name and version: Not applicable (using desktop app)
- Operating system and version affected: Windows 11

Additional Information

No response

Alezanello commented 1 week ago

Hello!

Thank you for bringing this to our attention!

I can confirm the issue you’ve encountered, but rest assured, it is only a visual bug when using certain fonts in the FlutterFlow Builder. The underlying code correctly displays the Regex as it should, so you can safely continue using it without any concerns.

Thank you again for reaching out!

image.png image.png