Need help linking two date pickers with validation

I have two date pickers: Date Picker 1 and Date Picker 2.

The requirement is:

  • User selects a date in Date Picker 1

  • Based on that selection, Date Picker 2 should allow only future dates (or same date and future dates)

  • Dates earlier than the selected date in Date Picker 1 should be disabled or restricted in Date Picker 2

Currently, I need guidance on how to properly link both date pickers so that Date Picker 2 dynamically updates based on Date Picker 1 selection.

If anyone has implemented similar functionality, please help with the approach.