I am using the X-Editable jQuery edit in place library for a Task Status selection field. All it;s stages are shown below from the process of:
I am however trying to come up with a better way to select a new value. There are only 3 selection options so I would like to possibly show all 3 items at once instead of requiring you to click the dropdown to see the other 2 options.
Is it possible to do that with a basic Selection or does it require a Multi-select field?
Definition and Usage For windows: Hold down the control (ctrl) button to select multiple options. For Mac: Hold down the command button to select multiple options.
To select multiple items, the user has to hold down the shift or ctrl key, then select with the mouse.
The <select> element has some unique attributes you can use to control it, such as multiple to specify whether multiple options can be selected, and size to specify how many options should be shown at once. It also accepts most of the general form input attributes such as required , disabled , autofocus , etc.
http://jsfiddle.net/n1k5cLx0/
Are you looking for a list or do you still want a dropdown with the options shown as default. For a list style you could use the size attribute with the select element.
HTML
<select size="3">
<option>Not Started</option>
<option selected>In Progess</option>
<option>Completed</option>
</select>
CSS
select{
overflow:auto;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With