How to use autocomplete of calcite-input-text? Please provide an example.
Calcite leverages autocomplete, which provides autofill from the user-agent, and may require the following of the component:
Any example? Sample code?
Thanks
@ForrestLin you can refer to the MDN example in the above thread for the specifics. Below are examples with Calcite and native elements, depending on the user agent:
<!-- Native example --> <!-- <label for="firstName">First Name:</label> <input name="firstName" id="firstName" type="text" autocomplete="given-name" /> --> <!-- Calcite example --> <calcite-label for="firstName">First Name:</calcite-label> <calcite-input name="firstName" id="firstName" autocomplete="given-name"></calcite-input>
Hello Kitty,
Thank you!
Is it possible to auto-complete input data from backend: web api/service, database?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.