Possible to add text for multi-line text input?

3400
4
Jump to solution
01-07-2016 08:43 AM
weeyeo
by
New Contributor II

Is there possible to add multi - line text input like ArcMap?

I change textbox to textarea and then add to map but it only shows one long line text.

<input id="value0Box" data-dojo-type="dijit/form/Textarea" value="" placeHolder="enter your text here" data-dojo-props="intermediateChanges:true"></input>

1.

1.jpg(ArcMap - add text)

2.

2.jpg

(Text input)

3.

3.gif(Result add text on map)

0 Kudos
1 Solution

Accepted Solutions
RickeyFight
MVP Regular Contributor

I now understand what you are looking for.

Look at this example

Multi Line Text Symbol - JSFiddle

View solution in original post

4 Replies
RickeyFight
MVP Regular Contributor

Try

<br />

This is a line break.

0 Kudos
weeyeo
by
New Contributor II

It didn't work!  Refer to the simple code on this discussion - add text to map (https://community.esri.com/message/398430#398430) but possible multi -line text?

0 Kudos
RickeyFight
MVP Regular Contributor

I now understand what you are looking for.

Look at this example

Multi Line Text Symbol - JSFiddle

JamalWest2
Occasional Contributor

Is there a way to do this in webappbuilder?

0 Kudos