We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@form-create/ant-design-vue 3.1.26版本
rangePicker组件设置预设范围presets后,选择后不能关闭选择框,除非是双击或者点击外面才行
代码: { type: 'rangePicker', field: 'date', title: '日期范围', props: { placeholder: ['开始日期', '结束日期'], valueFormat: 'YYYY-MM-DD', disabledDate: (current: Dayjs) => current && (current > dayjs().endOf('day') || current <= dayjs('2019-05-30')), presets: [{ label: '全部范围', value: [dayjs('2019-05-30'), dayjs()] }], } }
The text was updated successfully, but these errors were encountered:
可能是antdv版本问题,我使用4.x版本没有复现
Sorry, something went wrong.
No branches or pull requests
@form-create/ant-design-vue 3.1.26版本
rangePicker组件设置预设范围presets后,选择后不能关闭选择框,除非是双击或者点击外面才行
代码:
{
type: 'rangePicker',
field: 'date',
title: '日期范围',
props: {
placeholder: ['开始日期', '结束日期'],
valueFormat: 'YYYY-MM-DD',
disabledDate: (current: Dayjs) => current && (current > dayjs().endOf('day') || current <= dayjs('2019-05-30')),
presets: [{ label: '全部范围', value: [dayjs('2019-05-30'), dayjs()] }],
}
}
The text was updated successfully, but these errors were encountered: