Flag not selected on node editing form forces user to re-select

Created on 28 May 2020, almost 5 years ago
Updated 18 May 2025, 5 days ago

A valid number with the flag selected can be saved on a new node; however, when the node is being edited, the flag isn't selected by default and therefore the number will fails to validate.

To reproduce:

  1. Add a phone field to a content type
  2. Enable validation with format E164
  3. In form display, select the International telephone widget
  4. Create a new node with a valid phone number (you will be selecting the flag)
  5. Save the node
  6. Edit the node (you will notice that the flag isn't selected)
  7. If you try to save the node, the telephone number won't validate
  8. You would have to re-select the flag in order to save the node edits

This affects the user experience as it creates unnecessary frustration.

I have set the priority to "Major" because I can't use it in production with this issue.

This can be a very useful module for may websites. Hopefully we can fix this issue.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jcmartinez Raleigh, NC, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024