picker
picker copied to clipboard
📅 All Date Pickers you need.
The `generateConfig` methods use [`dealLocal()`](https://github.com/react-component/picker/blob/master/src/generate/dateFns.ts#L27) function to get `date-fns` specific locale data for the provided language, but the implementation fails in some cases because `rc-picker` locales names **do not exactly...
I played around with the basic Date Panel and added a showWeek attribute. Here's a quick demo:  Tests still have to be added.
Hi, it will be great if you can add a "showCalendarWeek" attribute. So in the basic mode you can decide if you want to show as information the week as...
ant-design/ant-design#27898 选择结束时间时如果时间小于初始时间就转跳到初始时间之后
I encountered the same issue as https://github.com/ant-design/ant-design/issues/31339 Alternative solution to https://github.com/react-component/picker/pull/273
``` import dayjs, { Dayjs } from 'dayjs'; import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs'; import generatePicker from 'antd/es/date-picker/generatePicker'; import 'antd/es/date-picker/style/index'; import 'dayjs/locale/zh-cn' dayjs.locale('zh-CN') const DatePicker = generatePicker(dayjsGenerateConfig); export default DatePicker; ``` 我替换[email protected]版本是好的...
支持用户定义的星期日区域单元格渲染
### Reproduction link https://codesandbox.io/s/rc-picker-playground-870j6?file=/src/App.tsx ### Steps to reproduce Pass `defaultPickerValue` only to `Picker` component is not working. (not with defaultValue) ### What is expected? Pass `defaultPickerValue only` to `Picker` component...
Hi, There's a behaviour change between vs 2.5.2 and beyond. Demonstrated in https://codesandbox.io/s/gifted-grass-cejvh?file=/src/App.tsx (which allows version toggle of rc-picker). With the following picker:  In 2.5.2: Change the date from...
When clicking outside the component, the focused attribute of the input component is not reorganized. fix: Range dropdown misalign (#292). Validation report: https://user-images.githubusercontent.com/35871603/132129566-8d44c626-41f6-4f94-a30f-e43e300628be.mp4