@@ -484,21 +484,21 @@ public function pen_size_setting( GF_Field $field, array &$properties ): void {
484484 public function phone_format_setting ( GF_Field $ field , array &$ properties ): void {
485485 $ properties [] = $ this ->expectedField ( 'phoneFormatType ' , ! empty ( $ field ->phoneFormat ) ? GFHelpers::get_enum_for_value ( Enum \PhoneFieldFormatEnum::$ type , $ field ->phoneFormat ) : self ::IS_NULL );
486486
487- // Add _phoneFormatExperimental field.
487+ // Add phoneFormat field.
488488 if ( ! empty ( $ field ->phoneFormat ) ) {
489- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .label ' , self ::NOT_NULL );
490- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .type ' , self ::NOT_NULL );
489+ $ properties [] = $ this ->expectedField ( 'phoneFormat .label ' , self ::NOT_NULL );
490+ $ properties [] = $ this ->expectedField ( 'phoneFormat .type ' , self ::NOT_NULL );
491491 if ( 'international ' === $ field ->phoneFormat ) {
492- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .mask ' , self ::IS_NULL );
493- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .regex ' , self ::IS_NULL );
494- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .instruction ' , self ::IS_NULL );
492+ $ properties [] = $ this ->expectedField ( 'phoneFormat .mask ' , self ::IS_NULL );
493+ $ properties [] = $ this ->expectedField ( 'phoneFormat .regex ' , self ::IS_NULL );
494+ $ properties [] = $ this ->expectedField ( 'phoneFormat .instruction ' , self ::IS_NULL );
495495 } else {
496- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .mask ' , self ::NOT_NULL );
497- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .regex ' , self ::NOT_NULL );
498- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental .instruction ' , self ::NOT_NULL );
496+ $ properties [] = $ this ->expectedField ( 'phoneFormat .mask ' , self ::NOT_NULL );
497+ $ properties [] = $ this ->expectedField ( 'phoneFormat .regex ' , self ::NOT_NULL );
498+ $ properties [] = $ this ->expectedField ( 'phoneFormat .instruction ' , self ::NOT_NULL );
499499 }
500500 } else {
501- $ properties [] = $ this ->expectedField ( '_phoneFormatExperimental ' , self ::IS_NULL );
501+ $ properties [] = $ this ->expectedField ( 'phoneFormat ' , self ::IS_NULL );
502502 }
503503 }
504504
0 commit comments