You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorrect input is filtered out by the InputComponent and the ColorCodeParser methods.
I tried both your handlers and they still need the above filters because user can input exceeded value or paste arbitrary text from a clipboard. TextBoxPreviewTextInput allows to input digits only but it does not check if the input value exceeds 255. ColorCode_PreviewTextInput does not seem to work properly, I can type arbitrary characters.
It would be nice to verify user input by few lines of code, though!
Users can type non hexadecimal values on the color hex code or type letters freely on R, G or B textboxes.
The text was updated successfully, but these errors were encountered: