Use case for this in core is the "Number of items to index during cron runs" setting in admin/config/search/settings
:
It currently allows for a choice between 6 pre-defined values, as shown in the screenshot above. Ideally, we could allow any custom value (grater than 0), and offer these values as suggestions, instead of having them hard-coded.
The HTML5 number field allows that as follows:
<input id="ticketNum" type="number" name="ticketNum" list="defaultNumbers">
<span class="validity"></span>
<datalist id="defaultNumbers">
<option value="10045678">
<option value="103421">
<option value="11111111">
<option value="12345678">
<option value="12999922">
</datalist>
Which makes the <input>
field a free-type number field + offers the suggested values in a drop-down in the same field:
GitHub Issue #:
5285
Recent comments
Regarding the current solution by @quicksketch for #5482 - both @docwilmot and I have left a couple of thoughts. Perhaps it'd be good to discuss the current approach and alternatives.
Jun 30th - Weekly Meeting Agenda Items
@nattywebdev - I'm glad we were able to help. PS - I'm UK based too
Importing users from D7 site using Feeds - uses insert rather than update
Regarding #4285 (flushing the core directory instead of merging on self-update). @quicksketch I have no idea, how to test your PR. We really need to test it. It seems spooky to delete the directory,...
Jun 30th - Weekly Meeting Agenda Items