Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DatePickerInputWithoutModal.tsx #373

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions docusaurus/docs/date-picker/input-date-picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,21 @@ Limits which dates the user can navigate to and where events can go. Dates outsi
`Type: boolean | undefined`
Flag indicating if the date format should be inside the components label.

**withModal**
`Type: boolean | undefined`
Flag indicating if the `datepicker` component is available from the input.

**hasError**
`Type: boolean | undefined`
Flag indicating if the the component should display error styles.
Flag indicating if the component should display error styles.
DwayneGit marked this conversation as resolved.
Show resolved Hide resolved

**hideValidationErrors**
`Type: boolean | undefined`
Flag indicating if the the component should hide error styles along with the `helperText` component displaying the error message.
Flag indicating if the component should hide error styles along with the `helperText` component displaying the error message.
DwayneGit marked this conversation as resolved.
Show resolved Hide resolved

**showHelperTextOnError**
`Type: boolean | undefined`
Flag indicating if the `helperText` component should be hidden if there is an error or always (hide empty line caused by empty`helperText` component).

**onValidationError**
`Type: Function | undefined`
Expand Down Expand Up @@ -128,7 +136,7 @@ Flag indicating if the component should be enabled or not. Behavior similarly to
Flag indicating if the status bar padding should be enabled or not. Defaults to `false`.

**presentationStyle**
`Type: 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen'`
`Type: ''pageSheet' | 'overFullScreen'`
Determines the visual presentation style of the date picker modal. This prop allows you to define how the modal appears on the screen when it is displayed.

- `'fullScreen'`: Presents the modal as a full-screen overlay.
Expand Down