Closed (outdated)
Project:
Drupal core
Version:
main
Component:
forms system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 18:53 UTC
Updated:
18 Sep 2026 at 20:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunRevised the summary.
Comment #2
xjmYou and your cowboy summary headers. :) Also, I disagree with the goal -- a select element should not be used when there are hundreds or thousands of items (regardless of context).
Comment #3
nod_The D8 solution got lost in the previous thread. Replace the textfield by a number input type, just landed in core.
Try it in Opera or chrome, it's pretty cool.
Comment #4
nod_Comment #5.0
(not verified) commentedUpdated issue summary.
Comment #5.1
nod_D8 number solution
Comment #5.2
nod_wrong information
Comment #6
tim.plunkettThis issue needs some consensus before an approach is coded.
Comment #6.0
tim.plunkettUpdated issue summary.
Comment #8
japerryWe're running into this issue with panels. While we could create some hacky code (and probably will) to get a number field, it'd be great if we moved to using a number widget in general.
This has partially been committed, looking at the code below:
Especially now that the number field is widely accepted by browsers, the existing accessibility issues I think have been addressed. Basically the patch in #3 just needs to be re-rolled for 8.2/8.3.
Comment #9
japerryHere is a patch for 8.3 and applies cleanly against 8.2 and 8.1 HEAD.
Marking needs work as it probably needs tests.
Comment #10
japerryComment #11
japerryComment #13
japerryUpdate for 8.4 head/8.3.0
Comment #27
smustgrave commentedThank you for sharing your idea for improving Drupal.
We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #28
volegerThe major issue was resolved in 8.5.x development cycle. See #565220: Fix Weight form element behavior. Since then, the weight functionality has become more stable and predictable.
Comment #30
smustgrave commentedThanks for following up! Going to close out, if there's more that needs to be done maybe a follow up or this could be re-opened with a IS update.