Search Widget. How to change "Find address or place"

2649
4
Jump to solution
02-29-2016 06:42 AM
LianaSmith
Occasional Contributor II

I am using Search Widget in my Application in order to search by municipality or commission district. Is there any way I can change the grey text inside Search field "Find address or place" to "Find municipality, commission district or address"?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Diana,

  In that case you need to adjust the Search widgets style.css.

Open this file [install dir]\server\apps\[app#]\widgets\Search\css\style.css and add this rule:

.jimu-widget-search .arcgisSearch {
   width: 400px;
}

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Emeritus

Diana,

   Sure in the Search widgets configuration UI you will find "Placeholder text for searching all: " this is where you need to add your desired text.

LianaSmith
Occasional Contributor II

Robert,

Thank you, but the problem is that if I do it like this, the box is not long enough to have all words in it..

Is there anyway I can make it longer? Thank you!!!!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Diana,

  In that case you need to adjust the Search widgets style.css.

Open this file [install dir]\server\apps\[app#]\widgets\Search\css\style.css and add this rule:

.jimu-widget-search .arcgisSearch {
   width: 400px;
}
LianaSmith
Occasional Contributor II

It worked. Thank you so much Robert. You are great

0 Kudos