Lambda-IT / parlamentsdienste-components

StencilJs Component Library
MIT License
2 stars 1 forks source link

Request for a "clear" icon for the datepicker component #293

Closed vonmuehlenen closed 1 month ago

vonmuehlenen commented 3 months ago

Currently, we have our own implementation where we add a button to clear the input of the date picker. The wish would be to have one directly inside the date picker, like the pd-combobox component, where you have the option to clear the input after a selection has been made.

The icon should be toggleable with a prop like show-clear-icon or a similar option.

image

Above is the example from your storybook for the pd-combobox component.

tom-wenger commented 3 months ago

@MadeleineMatter could you please make a design for this?

tom-wenger commented 2 months ago

ready to test