Skip to content

Commit

Permalink
fix(docs): broken link in date-picker page
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Sep 23, 2024
1 parent bed4a59 commit 1a00766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/content/docs/components/date-picker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You can combine the `isInvalid` and `errorMessage` properties to show an invalid

<CodeDemo title="With Error Message" files={datePickerContent.errorMessage} />

You can also pass an error message as a function. This allows for dynamic error message handling based on the [ValidationResult]((https://github.com/adobe/react-spectrum/blob/1cacbf1d438675feb3859fee54b17e620b458d9c/packages/%40react-types/shared/src/inputs.d.ts#L44-L51)).
You can also pass an error message as a function. This allows for dynamic error message handling based on the [ValidationResult](https://github.com/adobe/react-spectrum/blob/1cacbf1d438675feb3859fee54b17e620b458d9c/packages/%40react-types/shared/src/inputs.d.ts#L44-L51).

<CodeDemo title="With Error Message Function" files={datePickerContent.errorMessageFunction} />

Expand Down

0 comments on commit 1a00766

Please sign in to comment.