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

[Bug] - Form - Selected date range picker value is undefined on form submit #856

Open
srivalli-sivaramasankaran opened this issue May 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@srivalli-sivaramasankaran
Copy link
Collaborator

Component
Form

Describe the bug
When user selects the date range and clicks submit, the date value is undefined in the data. Date range variant value is not handled in form, whereas it works fine for single datepicker variant.

To Reproduce
Steps to reproduce the current behavior:

  1. https://moonlit-rabanadas-0f0022.netlify.app/components/core/form/#demo-dynamic-form
  2. Select the date range and click Sumit.
  3. Check the console for the submitted data.
  4. The date value will be undefined. PFB the screenshots for reference.

Expected behavior
Selected date range value should be in the payload.

Screenshots
Screenshot 2023-05-18 at 9 50 15 AM

Netlify link to test the bug
https://moonlit-rabanadas-0f0022.netlify.app/components/core/form/#demo-dynamic-form

@srivalli-sivaramasankaran srivalli-sivaramasankaran added bug Something isn't working iteration bug and removed bug Something isn't working iteration bug labels May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant