Date picker component has IsoDate class to parse and manipulate the date.
To support month and year select custom select component is implemented. Currently, only component JS is implemented. We can extend to provide select option as an component. Select component scroll make body scroll and is fixed using https://github.com/willmcpo/body-scroll-lock.
Linked Issue: https://github.com/aviflombaum/shadcn-rails/issues/51
Date picker component is imported from https://github.com/airblade/stimulus-datepicker and modified.
Date picker component has IsoDate class to parse and manipulate the date.
To support month and year select custom select component is implemented. Currently, only component JS is implemented. We can extend to provide select option as an component. Select component scroll make body scroll and is fixed using https://github.com/willmcpo/body-scroll-lock.