IntersectMBO / govtool

🔩 GovTool and utilities monorepo.
https://gov.tools
Apache License 2.0
14 stars 9 forks source link

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

Open kneerose opened 2 weeks ago

kneerose commented 2 weeks ago

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

Expected behavior