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

🐛 Missing Character Limit Validation for Link Text in Proposal Submission #2337

Open
kneerose opened this issue Nov 6, 2024 · 0 comments
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar

Comments

@kneerose
Copy link
Contributor

kneerose commented Nov 6, 2024

Area

Proposal Pillar

Domain

dev-sanchogov.tools

Which wallet were you using?

No response

Context

While creating a proposal, entering link text longer than 255 characters trigger error upon submission and save. Adding a validation to limit link text length would prevent the error and improve user experience by avoiding failed save attempts

Steps to reproduce

  1. Connect your wallet.
  2. Navigate to the proposal creation page.
  3. Enter link text with more than 255 characters and try to submit or save the proposal.
  4. Observe the error message in the console.

Actual behavior

  • Error on save and submit proposal when link text exceeds 255 characters
    image

  • overflow issue on text link
    image

Expected behavior

  • Link text should have character limit validation.
  • If the text exceeds the line, it should either be truncated or shown on new line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar
Projects
Status: No status
Status: Backlog
Development

No branches or pull requests

2 participants