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

"auroDatePicker-valueSet" event not firing on date selection #188

Closed
arrenleung opened this issue Jan 17, 2024 · 1 comment · Fixed by #190
Closed

"auroDatePicker-valueSet" event not firing on date selection #188

arrenleung opened this issue Jan 17, 2024 · 1 comment · Fixed by #190
Assignees
Labels
auro-datepicker not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes

Comments

@arrenleung
Copy link
Contributor

Please verify the version of auro-datepicker you have installed

2.1.2

Please describe the bug

  1. Instantiate a datepicker component with an event listener for auroDatePicker-valueSet
  2. Select a date in the calendar
  3. See that nothing happens in your valueSet event listener method

Reproducing the error

This issue is reproducible on the Auro docsite

Expected behavior

The auroDatePicker-valueSet event is fired from the datepicker when a date is selected

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Additional context

No response

Exit criteria

The auroDatePicker-valueSet event is fired from the datepicker when a date is selected

@arrenleung arrenleung added auro-datepicker not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes labels Jan 17, 2024
@arrenleung
Copy link
Contributor Author

arrenleung commented Jan 17, 2024

The problem is caused by the latest version of auro-input that updated cleave.js to v1.6.0:
image
Downgrading to auro-input@2.15.1 and installing cleave.js@1.5.10 locally seems to fix the issue.

@jason-capsule42 jason-capsule42 linked a pull request Jan 23, 2024 that will close this issue
6 tasks
blackfalcon pushed a commit that referenced this issue Jan 23, 2024
## [2.2.1](v2.2.0...v2.2.1) (2024-01-23)

### Bug Fixes

* **event:** always fire notify event when value changes [#188](#188) ([9108e46](9108e46))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-datepicker not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants