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
Feature require Time Range Picker feature #9582
Comments
Just use RangePicker[mode], see: https://ant.design/components/date-picker-cn/#components-date-picker-demo-mode |
@benjycui Hi, thanks for your replying. "Warning: Failed prop type: Invalid prop `mode[0]` of value `time` supplied to `RangeCalendar`, expected one of ['date','month','year','decade'].
in RangeCalendar (created by RangePicker)
in RangePicker (created by LocaleReceiver)
in LocaleReceiver (created by PickerWrapper)
in PickerWrapper (created by ControlledRangePicker)
in ControlledRangePicker
in div" Could you please give me more specific example or demo? In the demo from your link, I can see that only |
any update? Thanks. |
Related #8858 |
@yesmeck |
+1 |
Any updates on TimeRangePicker? |
In version 3.0, I used two <TimePicker
placeholder="Select"
hideDisabledOptions
popupClassName={style.timepickerPopup}
{...props}
open={open}
onOpenChange={this.handleOpenChange}
value={startValue === undefined ? firstValue : startValue == null ? undefined : startValue}
defaultOpenValue={min}
disabledHours={this.disabledStartTimeHours}
disabledMinutes={this.disabledStartTimeMinutes}
disabledSeconds={this.disabledStartTimeSeconds}
onChange={ev => this.onStartChange(formName, ev)}
addon={() => (
<Button size="small" type="primary" onClick={this.handleClose}>
Ok
</Button>
)}
/> |
@yoyo837 Can you provide an example code like in code sandbox? |
@rahulborah https://codesandbox.io/s/antd-reproduction-template-gl5j0 Just an example, not a complete feature. |
Already supported in 4.0: https://ant.design/components/time-picker-cn/#components-time-picker-demo-range-picker |
This comment has been minimized.
This comment has been minimized.
@gouflv It is. |
What problem does this feature solve?
Hi,
First of all, the framework is awesome!
But, I am facing a feature which doesn't implement by ANTD
This issue could relate this:
#8584
But the feature is still not implemented yet in 3.x ANTD.
What does the proposed API look like?
Just allows users to pick time range rather than date first then time range.
The text was updated successfully, but these errors were encountered: