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

Submit errors when inputs optional #5

Open
theconorodonnell opened this issue Dec 5, 2024 · 0 comments
Open

Submit errors when inputs optional #5

theconorodonnell opened this issue Dec 5, 2024 · 0 comments

Comments

@theconorodonnell
Copy link

Describe the bug
When using the calendar form control on optional inputs in bizform configuration, an error message is received after form submit when the default values are cleared from the form input.

To Reproduce
Steps to reproduce the behavior:

  1. Create a kentico bizform
  2. Use the calendar picker form control on an input, ensuring the input is marked as optional (required checkbox unchecked)
  3. Place the configured bizform on a page builder page using the form widget
  4. Navigate to the page
  5. clear the calendar input and submit the form
  6. the page returns an error message "Submission has failed. Please try again later."
    • There are no validation errors before submit to suggest any issue in the submitted form data
    • There are no events logged in kentico event log to explain the submit failuer

Expected behavior
When a form input is optional, it can be submitted with an empty value

Screenshots
image

Library Version
The issue was found while developing on Kentico v13.0.157 using the latest version of this nuget package.

Desktop (please complete the following information):

  • OS: Windows 11 Pro
  • Browser: Chrome
  • Version: 131.0.6778.86
  • SiteImprove chrome extension: version 2.0
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

No branches or pull requests

1 participant