GeekyAnts / GeekyAnts/NativeBase

Input control should show red border if user type wrong string in React Native Windows

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

Description

### Description

We are trying to achieve below functionality using Native base Input control:

![image](https://github.com/GeekyAnts/NativeBase/assets/20834895/7c381b5e-65a5-4770-b96d-0ceabc1ce904)

But somehow Nativebase Input control does not support change of bordercolor on windows. I also tried using FormControl but same results. My requirement is to show Input with red border if user is typing some wrong text on React Native Windows App.

### Problem Statement

Input control should show red border if user type wrong string in React Native Windows

### Proposed Solution or API

For web this Input control has better support for error handling by wrapping it with FormControl. It will be good if it has similar support on Windows as well.

![image](https://github.com/GeekyAnts/NativeBase/assets/20834895/3f93f14c-c67d-4818-97b8-10d6d3238d27)

### Alternatives

No alternatives as of today.

### Additional Information

native-base version used "3.4.11"

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.