chore: add the missing isRequired prop in WDSPhoneInputWidget (#33607)

Fixes #33241

/ok-to-test tags="@tag.Anvil"<!-- This is an auto-generated comment:
Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9173533714>
> Commit: 1cdcec81eb8c6ee6dc038aa3c000c7ddcca08777
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9173533714&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
This commit is contained in:
Pawan Kumar 2024-05-21 16:56:29 +05:30 committed by GitHub
parent e4f713c45e
commit 0192b38194
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ export function PhoneInputComponent(props: PhoneInputComponentProps) {
errorMessage={props.errorMessage}
isDisabled={props.isDisabled}
isReadOnly={props.isReadOnly}
isRequired={props.isRequired}
label={props.label}
onChange={props.onValueChange}
onFocusChange={props.onFocusChange}

View File

@ -296,6 +296,7 @@ class WDSPhoneInputWidget extends WDSBaseInputWidget<
isDisabled={this.props.isDisabled}
isLoading={this.props.isLoading}
isReadOnly={this.props.isReadOnly}
isRequired={this.props.isRequired}
label={this.props.label}
onFocusChange={this.onFocusChange}
onISDCodeChange={this.onISDCodeChange}