beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

Policy Portal - Title and description fields give error even when they meet the minimum character requirement #2254

Open omkar-em opened 1 week ago

omkar-em commented 1 week ago

Bug Description

While creating a policy in the Policy Portal, the title field requires a minimum of 10 characters and the description field requires a minimum of 50 characters. However, even when these fields meet or exceed the character limit, an error is still displayed, preventing policy creation.

Steps to Reproduce

  1. Navigate to the policy creation form in the Policy Portal.
  2. Enter a title with more than 10 characters.
  3. Enter a description with more than 50 characters.
  4. Attempt to submit the form and observe the error message.

Expected Behavior

The form should allow submission when the title has more than 10 characters and the description has more than 50 characters.

Actual Behavior

The form still throws an error, indicating that the title and description do not meet the minimum character requirement, even when they do.

Figma

NA

Environment

Screenshots/Logs

Image

aniketceminds commented 1 week ago

Image

omkar-em commented 5 days ago

Unable to retest this bug due to blocker - https://github.com/beckn/beckn-ui-workspace/issues/2310