arqex / arqex/react-datetime

disabled not working when using input props

Open
#859 0 comments 3 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 ...

```
[ ] Bug report
[ ] Feature request
[ x] Support request
```

### Steps to Reproduce
When using a DateDropInput component, I am trying to disable when certain conditions have been met. When I attempt to set inputProps={{disabled: true}} to see if this would work. The field is still enabled and I can still select dates.

### Expected Results
I am expecting that the specific date drop component I am rendering will be disabled when I set the conditions for disabled.

### Actual Results
The date drop input is still enabled

### Minimal Reproduction of the Problem

https://codepen.io/krystallopez/pen/bGmWwBw

### Other Information (e.g. stacktraces, related issues, suggestions how to fix)

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.