Page 1 of 1

Multi-line Text Inputs

Posted: Wed Jun 10, 2020 2:43 pm
by Andy Parker

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.


Multi-line Text Inputs

Posted: Thu Jun 11, 2020 1:46 pm
by Galyna Abramovych

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


Multi-line Text Inputs

Posted: Wed Jun 17, 2020 12:55 pm
by Andy Parker

Perfect Galyna, many thanks.