-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
I have a textbox with determined width and height,want to limit the input text to not exceed the set width, so I will give an error prompt and give up the content entered this time.
I have tried whether I can monitor text changes, or size changes, and handle them in events, but I haven't found a suitable event.
https://codesandbox.io/s/still-haze-zys42f?file=/src/App.tsx
Metadata
Metadata
Assignees
Labels
No labels