Is there an alternative to the datalist?

Asked

Viewed 32 times

1

I wonder if there is any alternative to the HTML datalist, because I’m making a hybrid application that will run in a webview on android and how far I saw the datalist is not supported in most webviews, so the need for an alternative.

Below is an example of what I need to do with some alternative to the datalist:

<input list="linguagens">
<datalist id="linguagens">
  <option value="Javascript">
  <option value="PHP">
  <option value="C#">
  <option value="C++">
  <option value="C">
  <option value="Python">
  <option value="Java">
  <option value="Ruby">
  <option value="Kotlin">
  <option value="Delphi">
  <option value="Go">
  <option value="Perl">
  <option value="ObjectiveC">
</datalist>

From now on I appreciate any help.

  • Use polyfill: https://github.com/mfranzke/datalist-polyfill

  • In mobile exchange the datalist for a select...

  • I recommend using the SELECT2 library.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.