arqex / arqex/react-datetime

The time picker hit some race condition and is buggy when using a controlled value

Open
#827 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

### I'm Submitting a ...
```
[ x ] Bug report
[ ] Feature request
[ ] Support request
```

### Steps to Reproduce
I'm using the datepicker value in order to update it programmatically. From what I can find on the docs, this should be the correct way of doing it.

```
const [curentDate, setCurentDate] = React.useState(initValue)
const onChangeDate = (date: any) => {
setCurentDate(date)
}
```

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.