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

[Bug] numInstances: PropTypes.number breaks when numInstances are in string #4391

Open
arunvc opened this issue Sep 27, 2024 · 0 comments
Open
Labels
Awaiting Reproduction Can we reproduce the reported bug?

Comments

@arunvc
Copy link

arunvc commented Sep 27, 2024

Describe the Bug

numInstances: PropTypes.number breaks when numInstances are in string

change

numInstances: PropTypes.number to
numInstances: PropTypes.any
```

### Steps to Reproduce

use any study where numInstances is configured as string

### The current behavior

error

### The expected behavior

handle numInstances as string and number 

### OS

Ubuntu 22

### Node version

18

### Browser

Latest Chrome and Firefox
@arunvc arunvc added the Awaiting Reproduction Can we reproduce the reported bug? label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?
Projects
None yet
Development

No branches or pull requests

1 participant