Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: updated regex validation for color theme designer input field #33148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hamzamaimi
Copy link

Updated regex validation in order to allow only correct Hexadecimal value (only numbers from 0 to 9 and letters from A to F. Currently, when you enter incorrect hex values ​​in the theme designer, the rendering breaks and the entire theme designer disappears.

Previous Behavior

When you enter incorrect hex values ​​in the theme designer, the rendering breaks and the entire theme designer disappears.

Screen.Recording.2024-10-27.at.12.mp4

New Behavior

The new regex validation allows entering only numbers from 0 to 9 and letters from A to F.

Related Issue(s)

I didn't open an issue for this fix.

Updated regex validation in order to allow only correct Hexadecimal value (only numbers from 0 to 9 and letters from A to F.
Currently, when you enter incorrect hex values ​​in the theme designer, the rendering breaks and the entire theme designer disappears.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant