You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/02 18:29:08 UTC

[GitHub] [cordova-android] dpogue commented on issue #711: The HTML element isn't working on Android 8 or higher

dpogue commented on issue #711: The HTML <datalist> element isn't working on Android 8 or higher 
URL: https://github.com/apache/cordova-android/issues/711#issuecomment-479135328
 
 
   Your example code shouldn't render anything.
   ```html
   <div class="app">
     <datalist id="ice-cream-flavors">
       <option value="Chocolate">
       <option value="Coconut">
       <option value="Vanilla">
     </datalist>
   </div>
   ```
   
   You need to attach the datalist to an input element like this:
   ```html
   <input type="text" list="ice-cream-flavors">
   <datalist id="ice-cream-flavors">
       <option value="Chocolate">
       <option value="Coconut">
       <option value="Vanilla">
   </datalist>
   ```
   
   In any case, this is handled by the browser engine, not by Cordova.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org