Comments (3)
Please read the documentation - you do not nest a TextView
inside TextInputLayout
on IOS...
from nativescript-textinputlayout.
if not textview where can i put keyboardType?inside the TextInputLayout , like this? : <TIL:TextInputLayout keyboardType="number"> ?
from nativescript-textinputlayout.
Yes - for iOS the documentation states:
So, instead of a TextInpuLayout that wraps a TextField, we just need a single element and we get to take advantage of all the normal TextField bindings that comes from NativeScript!
And the code examples are very clear:
<TIL:TextInputLayout
hint="{{ hint }}"
isEnabled="{{ isEnabled }}"
disabledColor="#c3c3c3"
error="{{ error }}"
text="{{ demoText }}"
title="{{ title }}"
color="{{ error ? '#aa0000' : '#d745ff' }}"
tintColor="#d745ff"
lineColor="#d745ff"
selectedTitleColor="#ff45ca"
selectedLineColor="#7a45ff"
lineHeight="1.25"
selectedLineHeight="3.5" />
Again, please read the documentation for most complete information: https://github.com/bradleygore/nativescript-textinputlayout#ios
from nativescript-textinputlayout.
Related Issues (20)
- How to use this in Nativescript angular HOT 4
- How to use in Nativescript Angular iOS? HOT 5
- Question Change margin between Text Hint and Text Field HOT 4
- changing hint color HOT 5
- Error on iOS Build regarding Swift version HOT 1
- secure="true" ignored on TextField HOT 9
- Unable to Style the TextField HOT 9
- bottom line styling on android? HOT 2
- Support for Nativescript 4.x.x HOT 1
- iOS Angular binding HOT 4
- Unable to build project for iOS with this plugin and Xcode 9 HOT 3
- Better example on how to style on Android HOT 1
- Maintainable fix for Unable to determine Swift version, after compilation Pod fix got wiped out HOT 1
- Unable to build - require a higher minimum deployment HOT 1
- Custom font not working on Android HOT 1
- Is unified syntax possible? HOT 4
- Element with error does not auto-scroll above the soft keyboard
- Problems to build in IOS HOT 1
- Upgrade to tns 6.0 crashes on TextInputLayout 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 nativescript-textinputlayout.