Problem/Motivation
Webform includes a test feature / tab that pre-fills the fields in the form with valid values so you can quickly send in a test submission. This does not work with the phone number field. Currently the number sub-field is empty and the extension field is filled with invalid data.
Steps to reproduce
Create a webform. Add a phone_number module phone field. Visit the test tab on the webform.
Proposed resolution
Improve our webform integration such that valid test values are supplied when the webform is in test mode.
Remaining tasks
Patch/MR & review.
User interface changes
Improved experience in webform admin.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Afterpatch-20.png | 52 KB | kanchan bhogade |
| #5 | Beforepatch-20.png | 47.8 KB | kanchan bhogade |
Issue fork phone_number-3427719
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
vaish commentedComment #5
kanchan bhogade commentedHi
I've tested MR !20 on Drupal 10; the Issue is reproduced
The patch is applied successfully...
Testing Steps:
Test Result :
The number sub-field and the extension field have a valid Phone No.
RTBC+1
Adding SS for the reference
Keeping in "Needs review" for code verification
Comment #6
chrisolofLooks good to me. Thanks Vaish!
Comment #8
vaish commented