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
TimePicker
latest
配置时区时,受控的 TimePicker onChange 值错误 When configuring the time zone, the controlled TimePicker onChange value is wrong
配置时区时,受控的 TimePicker onChange 值正确 When configuring the time zone, the controlled TimePicker onChange value correct
import React from 'react'; import { TimePicker } from '@douyinfe/semi-ui'; class Demo extends React.Component { constructor() { super(); this.state = { value: null, }; this.onChange = this.onChange.bind(this); } onChange(time) { console.log(time); this.setState({ value: time }); }; render() { return <TimePicker timeZone={'GMT+09:00'} value={this.state.value} onChange={this.onChange} />; } }
- OS: - browser:
relate issue #1522
The text was updated successfully, but these errors were encountered:
YannLynn
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Which Component
TimePicker
Semi Version
latest
Current Behavior
配置时区时,受控的 TimePicker onChange 值错误
When configuring the time zone, the controlled TimePicker onChange value is wrong
Expected Behavior
配置时区时,受控的 TimePicker onChange 值正确
When configuring the time zone, the controlled TimePicker onChange value correct
Steps To Reproduce
ReproducibleCode
Environment
Anything else?
relate issue #1522
The text was updated successfully, but these errors were encountered: