Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

input type color does not recognise datalist

  • Inga svar
  • 1 har detta problem
more options

Using html5 input with type of color does not recognise the datalist to provide short list of color options to the user. This code does work correctly in both Chrome and IE but not in FF (Win10, FF 64bit Quantum v58.0.2)!

<input type='color' id='ProjBackgroundColor' value='#692f9b' list='colours' /> <datalist id='colours'> <option value='#692f9b' /> <option value='#ff0000' /> <option value='#00ff00' /> <option value='#0000ff' /> </datalist>