-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Description
Summary
Selecting a start and end date does not update the Reactive Form control.
Steps to Reproduce
When using hs-datepicker with Angular Reactive Forms for selecting a date range, the form control does not update automatically, and valueChanges is not triggered. I also need a way to detect when the end date is selected in order to call a function (e.g., trigger an API call).
Current Behavior
- Selecting a start and end date does not update the Reactive Form control.
valueChangessubscription never fires.onSelectcallback works in plain JS, but documentation does not explain how to integrate this with Angular or Reactive Forms.
Expected Behavior
- Reactive Form should receive the selected date range automatically.
- Ability to detect when the end date is clicked to trigger further actions.
Additional Context / Suggestion
- Documentation should include Angular / Reactive Forms integration examples.
- Explain the difference between
type: "multiple"andtype: "range". - Show how to use
onSelectto integrate with Reactive Forms and detect the end date selection.
Demo Link
NA
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response
Metadata
Metadata
Assignees
Labels
No labels