One Field, Two Inputs: How the Focus Timer's Number Fields Are Built, and Why a Scripted Value Skips the Clamp
DEV Community
One Field, Two Inputs: How the Focus Timer's Number Fields Are Built, and Why a Scripted Value Skips the Clamp
Each of the Focus Timer's four number fields is two inputs: a text input with no range of its own, plus a 1px number input that carries the range. The clamp fires on the keyboard path but not on the scripted path.
0 comments
No comments yet.