Pratik Sanyaja
Pratik Sanyaja

Reputation: 131

how can i create multiline editable textview in nativescript?

i try beloved code but dos't work in android can't get new line

<TextView  style="margin-top: 15px" borderColor="#DEDEDE" borderWidth="1"
 height="100px" hint="Enter Note"  returnKeyType="send" class="input input-border"></TextView>
<Button text="ADD" (tap)="insertNote()"></Button>

Upvotes: 0

Views: 1223

Answers (1)

Deepika
Deepika

Reputation: 460

Use height attribute without 'px' unit like this :

<TextView style="margin-top: 15px" borderColor="#DEDEDE" borderWidth="1" height="100" hint="Enter Note"  returnKeyType="send" class="input input-border"/>

Or give greater value for height in pixel : 200px

Upvotes: 1

Related Questions