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

Fixed invalid additionalInfo validation in enroll offer modal #2918

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

VKormylo
Copy link
Contributor

@VKormylo VKormylo commented Dec 1, 2024

Added validation for additional info to be at least 30 symbols or empty in enroll offer modal.
Validation looks like this.
image
If the field is empty, there is no validation.
image

@VKormylo VKormylo requested a review from markgol777 December 1, 2024 12:57
Copy link
Contributor

@luiqor luiqor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional info cannot be empty "" (0 characters), as it causes a server error. It must either be not included to request or contain more than 30 characters. Please update the logic to ensure that additionalInfo is not sent if the input field is empty string.

image
image

@VKormylo
Copy link
Contributor Author

VKormylo commented Dec 3, 2024

Fixed incorrect empty additionalInfo in request

@VKormylo VKormylo requested a review from luiqor December 3, 2024 18:53
@VKormylo VKormylo merged commit dc567c7 into develop Dec 3, 2024
10 checks passed
@VKormylo VKormylo deleted the bugfix/2867/fix-invalid-additional-info branch December 3, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Frontend part
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP: 1) Fix invalid additionalInfo in offer request is sent to the server
4 participants