-
Notifications
You must be signed in to change notification settings - Fork 81
Restricting user input
JC Franco edited this page Jan 21, 2025
·
8 revisions
Intercepting and restricting user input is not always desired and can lead to unexpected behavior, so we have been moving away from this approach and leaving it up to developers to prevent input if this is necessary.
- Handling of pasted data
- Assuming user text workflows – related to 1, but some users might be working with an existing piece of text that can be edited down to the desired input
- When input is restricted to a deterministic range of values (e.g., hex color characters)