ui: Make the NumberField in edit mode work (#45447)

- Make the buttons capable of changing the editor's content
(incrementing or decrementing the value)
- Make arrow key up and down increment and decrement the editor value
- Tried to apply a bit of DRY here by creating some functions that can
be reused across the buttons and editor given they all essentially do
the same thing (change the value)
- Fixed an issue where the editor would not allow focus to move
elsewhere, making it impossible to open a dropdown, for example, if your
focus was on the number field's editor

Release Notes:

- N/A
a5540a08fbDanilo Leal committed on 12/20/2025, 2:15:46 PM· committed by GitHubparent3e8c25f
1 file changedLine totals unavailable