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

PN-11527-fe-e-possibile-generare-unapi-key-inserendo-solo-uno-spazio-nel-campo-nome #1248

Conversation

ImJimMoriarty
Copy link
Contributor

Short description

This pull request fixes the minimum character validation for the name field in the NewApiKey form. Previously, the form allowed names with less than 3 characters, which is not desirable. With this fix, the form will now correctly validate that the name has at least 3 characters before allowing submission.

List of changes proposed in this pull request

  • added a minimum of 3 characters to the name field in the validation schema
  • updated related tests
  • added translations for each language

How to test

Start PA and try to create an api key with less than 3 character and see if the error appear.

@ImJimMoriarty ImJimMoriarty changed the title Fix minimum character validation for NewApiKey form PN-11527-fe-e-possibile-generare-unapi-key-inserendo-solo-uno-spazio-nel-campo-nome Jun 7, 2024
@AndreaCimini90 AndreaCimini90 self-assigned this Jun 10, 2024
@AndreaCimini90 AndreaCimini90 marked this pull request as draft June 10, 2024 10:46
@AndreaCimini90 AndreaCimini90 self-requested a review June 10, 2024 13:15
AndreaCimini90
AndreaCimini90 previously approved these changes Jun 10, 2024
@AndreaCimini90 AndreaCimini90 self-requested a review June 14, 2024 06:46
@AndreaCimini90 AndreaCimini90 marked this pull request as ready for review July 2, 2024 07:42
@AndreaCimini90 AndreaCimini90 merged commit 55a37bd into develop Jul 2, 2024
9 checks passed
@AndreaCimini90 AndreaCimini90 deleted the PN-11527-fe-e-possibile-generare-unapi-key-inserendo-solo-uno-spazio-nel-campo-nome branch July 2, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants