cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
34 stars 13 forks source link

Unable to add a character limit for short answer questions #3402

Open anikbrazeau opened 7 months ago

anikbrazeau commented 7 months ago

Description

When adding a form element that is a short answer question, the "More" menu does not give the option to set a character maximum for the input.

Steps to reproduce

  1. Go to "Edit"
  2. Click on "Add form element"
  3. Select "Short answer"
  4. Click "More"
  5. See the options in the modal

Details

Expected behaviour

Since the option is available for text areas (long answer), one might assume it should also be available for all text input fields?

To consider minimum and maximum character lengths and other forms of validation or limitation

Screenshots or videos

reponse courte longue

Abi-Nada commented 7 months ago

De-scoping from App Router work, as this persists in Staging/Prod (but isn't a severe/critical bug that prevents a client from creating and publishing a form).