Skip to content

Commit

Permalink
Fix - Form not allow to update due to smart phone field
Browse files Browse the repository at this point in the history
  • Loading branch information
lekhnathpandey committed Aug 19, 2024
1 parent da87b18 commit 13f0ad5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin/form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@
break;
}else{
var phone_field = $('#user_registration_form_setting_default_phone_field option:selected');
var phone_format = phone_field.data('phone-format');
var phone_format = phone_field.attr('data-phone-format');

if( "undefined" === typeof phone_format || 'smart' === phone_format){
continue;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/admin/form-builder.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions languages/user-registration.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-08-16T11:12:33+00:00\n"
"POT-Creation-Date: 2024-08-19T08:01:24+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: user-registration\n"

#. Plugin Name of the plugin
Expand Down

0 comments on commit 13f0ad5

Please sign in to comment.