breaking(date-picker): default flatpickrProps.static to true (#1298)

Closes #985

* breaking(date-picker): default `flatpickrProps.static` to true

* docs(date-picker): update docs on `flatpickrProps.static`

* docs(date-picker): feature single/range examples first
This commit is contained in:
metonym 2022-05-14 11:46:38 -07:00 committed by GitHub
commit a958825d19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 26 deletions

View file

@ -216,6 +216,9 @@
locale,
maxDate,
minDate,
// default to static: true so the
// date picker works inside a modal
static: true,
...flatpickrProps,
});
}