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
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-in-js-46
@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
@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.
Robert is correct. This is still the case.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.