Change Search widget's "Please enter a search term" @4.13

606
4
Jump to solution
11-17-2019 12:34 AM
ImtiyazPasha
Occasional Contributor

How to change Search widget's "Please enter a search term" text alert on Empty search

Search widget with multiple sources | ArcGIS API for JavaScript 4.13 

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Imtiyaz,

  Unless they have added support for this since last year there is no way to change that text. Here is a thread from last year where this is discussed.

https://community.esri.com/thread/212756-can-not-translate-resources-dojoi18nesrinlsjsapi-is-missed-... 

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Emeritus

Imtiyaz,

  Unless they have added support for this since last year there is no way to change that text. Here is a thread from last year where this is discussed.

https://community.esri.com/thread/212756-can-not-translate-resources-dojoi18nesrinlsjsapi-is-missed-... 

Noah-Sager
Esri Regular Contributor

Robert is correct. This is still the case.

0 Kudos
SaurabhUpadhyaya
Occasional Contributor

@Noah-Sager @RobertScheitlin__GISP We are now in 4.28 and still facing the search widget's "Please enter a search term" text alert on Empty search. Not able to change the message. Please suggest the approach.

0 Kudos
SaurabhUpadhyaya
Occasional Contributor

@AnneFitz  @AndyGup This is very basic requirement for the search widget component where user not entering any value then we can give custom message. please suggest the approach how to modify the warning message? which event we need to write the code means search_complete or else.. @Sage_Wall 

0 Kudos