Skip to content

Commit

Permalink
fix: update placeholder for phone input widget (#13635)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganganimaulik committed May 20, 2022
1 parent 9753df5 commit 7ccc541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client/src/widgets/PhoneInputWidget/widget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class PhoneInputWidget extends BaseInputWidget<
propertyName: "defaultText",
label: "Default Text",
controlType: "INPUT_TEXT",
placeholderText: "John Doe",
placeholderText: "(000) 000-0000",
isBindProperty: true,
isTriggerProperty: false,
validation: {
Expand All @@ -115,7 +115,7 @@ class PhoneInputWidget extends BaseInputWidget<
fn: defaultValueValidation,
expected: {
type: "string",
example: `000 0000`,
example: `(000) 000-0000`,
autocompleteDataType: AutocompleteDataType.STRING,
},
},
Expand Down

0 comments on commit 7ccc541

Please sign in to comment.