I am trying to find an intuitive input control to create a list of QUANTITY x ITEM
lines. The items already exist in the database and the simplest way to do this would be:
In order to make it faster to input the lines I thought about leaving it a plain text field that on Enter
it would just add an <li>
to a <ul>
with a link to remove the line like so:
I am not so sure though how would the autocomplete work best and if there is a simple plugin like chosen that can accept free-form text ("3x") and autocomplete values ("Goblin") in a text input or a text area.