keyboard-layout-editor icon indicating copy to clipboard operation
keyboard-layout-editor copied to clipboard

Suggestion: use <datalist> for "Profile / Row" text field

Open denilsonsa opened this issue 5 years ago • 1 comments

The profileeditor-search input field has a tooltip with all the available profiles. It would be better/easier for the user if those strings were presented as suggestions. This is now easy to do, using a <datalist> element. This should work:

<input … list="profileeditor-list" …>
<datalist id="profileeditor-list">
  <option value="SA"></option>
  <option value="DSA"></option>
  <option value="DCS"></option>
  <option value="OEM"></option>
  <option value="CHICKLET"></option>
  <option value="FLAT"></option>
  <option value="R1"></option>
  <option value="R2"></option>
  <option value="R3"></option>
  <option value="R4"></option>
  <option value="R5"></option>
  <option value="SPACE"></option>
</datalist>

denilsonsa avatar Jul 17 '20 08:07 denilsonsa

this looks like a neat idea. Would you have 2 different drop downs? r1..space for one and SA..chicklet for another?

Typically the whole keyboard is SA or OEM. And each row has a different height. It is also a pain since R1 for some is the top and others is the bottom.

This would not change that pain, but it sure would make typing/error checking it easier

kbrock avatar Dec 03 '20 17:12 kbrock