GeekyAnts / GeekyAnts/NativeBase

FormControl does not pass isInvalid prop to TextArea

Open
#5,752 0 comments 0 reactions 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

Passing isInvalid to a FormControl should apply that prop to TextArea children

### CodeSandbox/Snack link

https://snack.expo.dev/@sammcduffie/textarea-issue

### Steps to reproduce

Create a TextArea wrapped in a FormControl and set the `isInvalid` prop
```

</FormControl>
```

### NativeBase Version

3.4.28

### Platform

- [X] Android
- [ ] CRA
- [X] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information
`isDisabled` seems to have a similar issue. The field is disabled but lacks the disabled styling.

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.