Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Multi-line Text Inputs

Hi Team,

I'm trying to find a way to enable the user to enter text and allow multiple lines of text in the input (i.e. allow the user to hit in the input box and continue typing.

This is for an email body input for the user.

I see IONIC 4 allows a ion-textarea as well as ion-input, are there plans to make this available or am I missing something?

If it's not available, is there a way to get this into my app manually?

many thanks

Andy.

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Multi-line Text Inputs

Andy,

Like any ionic-component, it can be added with our HTML component.
Then, any attributes like placeholder, disabled, etc. can be added as its properties in the same panel.
Please check this link to the video showing how to add textarea in an Ionic 4 app:
https://www.youtube.com/watch?v=3UR0Z...

The second option is to use Container in No wrapper, press "Edit" and insert the ion-textarea component there:

code<ion-item>
<ion-label position="floating">Description</ion-label>
<ion-textarea></ion-textarea>
</ion-item>/code

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Multi-line Text Inputs

Perfect Galyna, many thanks.

Return to “Issues”