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(dashboard): tags client side validation #7325

Merged

Conversation

ChmaraX
Copy link
Contributor

@ChmaraX ChmaraX commented Dec 18, 2024

What changed? Why was the change needed?

We can be also stricter here by e.g. by throwing error right away when user types tag name longer than 32 chars or disabling input field when tag limit is reached, but that requires passing schema values and using form context directly in the TagsInput component which I'm not sure if its a good idea.

Copy link

linear bot commented Dec 18, 2024

Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit ffa6623
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/6762b5e2f4d62500087da7e8
😎 Deploy Preview https://deploy-preview-7325.dashboard.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for dashboard-v2-novu-staging ready!

Name Link
🔨 Latest commit ffa6623
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/6762b5e23d7d3000080492d7
😎 Deploy Preview https://deploy-preview-7325.dashboard-v2.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ChmaraX ChmaraX merged commit a7b4d44 into next Dec 18, 2024
37 checks passed
@ChmaraX ChmaraX deleted the nv-5020-the-tags-should-be-limited-to-32-max-both-fe-and-be branch December 18, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants