Post #1750573
2026-04-28 16:52 UTC
Has anyone seen examples of a UI pattern for an input where you get suggestions for valid options for just the next character?
For example, say I want to let someone enter a number where start="400" stop="700" step=".025". So the valid first character is the set [4, 5, 6, 7]. Once someone enters that, the next few characters are the full set [0-9]. Then the step size kicks in and the last couple digits are [0, 2, 5, 7] and [0, 5], respectively.
Replies (1)
-
@octothorpe@mastodon.online 2026-04-28 17:18
@noleli@mastodon.social I haven’t as at that point I would make it a dropdown (or combo box which allows type-ahead for the valid list).