Needs work
Project:
Drupal core
Version:
main
Component:
Claro theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2023 at 09:28 UTC
Updated:
11 Jun 2024 at 12:27 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
gauravvvv commentedI have changed the textfield for weight to select list, attached patch for same. please review thanks
Comment #3
smustgrave commentedCan we add a simple assertion to check if it's a select list.
Comment #4
kostyashupenkoPatch is working
Comment #5
lauriiiWhat happens if someone has set arbitrary numerical values for the weight using the textfield? Wouldn't that break when we change to a select?
Comment #6
smustgrave commentedMoving to NW as the tests tag was removed without adding anything
Comment #7
gauravvvv commentedHi @lauriii, if we input an arbitrary numerical value in the weight using a text field, it automatically adjusts to the closest available value. For example, if we enter 15.2, it will change to 15, or to the next available value if any are present before 15.