Skip to content
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

use12Hours does not work on TimePickerPanel #147

Open
tc0087 opened this issue Mar 16, 2019 · 1 comment
Open

use12Hours does not work on TimePickerPanel #147

tc0087 opened this issue Mar 16, 2019 · 1 comment

Comments

@tc0087
Copy link

tc0087 commented Mar 16, 2019

The code listed below results in the error: "Uncaught TypeError: Cannot read property 'match' of undefined" Can we use use12Hours prop on the TimePIckerPanel?

<TimePickerPanel showSecond={false} use12Hours={true} defaultValue={moment('00:00', 'HH:mm a')} />

@OscarBarrett
Copy link

You must also supply a format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants