core
core copied to clipboard
bug: inputs/CoreInput input field not working
Describe the bug
<CoreInput helperText="Helper Text"></CoreInput>
Above code snippet renders a field, that is not editable. Works on manually passing onChange.
To Reproduce Steps to reproduce the behavior:
- Use the code snippet provided above in the bug description.
Proposed Solution
- spread props
- check if user sends onChange, if not, handle it internally.
solution proposed by @anantakumarghosh
Expected behavior Field is editable.
Stack Trace The stack trace of the bug if any.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Solution proposed by @techoneel implement the solution in wrappid/native-web