Comments (4)
sorry about late response. this component doesn't have props "borderType" and I see InputText doesn't have this props too. If you want to make underline for input, you can apply some style for component. depend on your need, you can add some style on "codeInputStyle" or "containerStyle" props
from react-native-confirmation-code-input.
@zootopia106
make the cellBorderWidth props to reasonable value like cellBorderWidth={10}
<CodeInput ref="codeinput" className="border-b" keyboardType="numeric" activeColor="black" inactiveColor="red" inputPosition='left' cellBorderWidth={10} space={10} autoFocus={true} codeLength={4} size={60} onFulfill={(code) => this.verify(code)} containerStyle={{ marginTop: 50 }} codeInputStyle={{ color: "grey", fontSize: 32 }} />
from react-native-confirmation-code-input.
thank you!
from react-native-confirmation-code-input.
I tried to use underline border style but it's not working.
<CodeInput
ref="codeinput"
className="border-b"
keyboardType="numeric"
activeColor="white"
inactiveColor="white"
inputPosition='left'
cellBorderWidth={1}
space={10}
autoFocus={true}
codeLength={4}
size={60}
onFulfill={(code) => this.verify(code)}
containerStyle={{ marginTop: 50 }}
codeInputStyle={{ color: "white", fontSize: 32 }}
/>
This is the code i used to implement and can you please give me the solution?
from react-native-confirmation-code-input.
Related Issues (20)
- undefined is not an object (evaluating 'this.codeInputRefs[t].focus') HOT 3
- issue: code.split is not a function. (In 'code.split("")','code.split' is undefined) HOT 1
- onCodeChanged not working HOT 1
- Undefined proptypes HOT 1
- how to make a confirmation code input active(focus on a confirmation code input)? HOT 1
- How to set Input Direction "Left" in RTL App mode? HOT 3
- How to test with detox? HOT 6
- How do I get Code text on every update of Field? HOT 3
- How to get value user write? HOT 2
- Clearing on Previous Pin Values when I clicked the particular pin HOT 1
- Component works very slow, dropping input HOT 2
- iPhone 11 Keyboard can't pop out HOT 2
- show Error i when i give props codeLenth={4} HOT 3
- RN 0.63.0-rc.1 HOT 2
- NPM package is not updated HOT 3
- Cannot read property 'style' of undefined HOT 1
- even auto focus is valid, keyboard is not shown HOT 1
- 'refs' is deprecated HOT 1
- How to call a function on every keypress? HOT 2
- Expo Web support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-confirmation-code-input.