yogiyadav13 / bookbrainz

GNU General Public License v2.0
0 stars 24 forks source link

Toggle Functionality for Calendar Icon in Forms #41

Open deysandip301 opened 1 week ago

deysandip301 commented 1 week ago

Description : Currently, in our forms, when the calendar icon is clicked to select a date, it opens the calendar for the user to make a selection. However, if the calendar icon is clicked again, it does not hide the calendar. We need to implement a toggle functionality such that clicking the calendar icon once opens the calendar, and clicking it again hides the calendar.

Steps to Reproduce: Open any form that includes a date picker. Click on the calendar icon to open the calendar. Click on the calendar icon again.

Expected Behavior: The calendar should hide when the calendar icon is clicked a second time.

Actual Behavior: The calendar remains visible when the calendar icon is clicked again.

Screenshot from 2024-07-03 12-51-51

paawanjotk commented 4 days ago

please assign this issue to me