datetime-picker icon indicating copy to clipboard operation
datetime-picker copied to clipboard

Disable double click feature

Open komitoff opened this issue 2 years ago • 0 comments

Hello there, I am using the calendar-element and it is really good. There is just one small thing that I can't really handle and it is the double click feature. I read almost everything written as documentation regarding this component, but I was not able to find a way to disable this double click feature.

Here is my simple code

    static get template() {
        return html`
            <custom-style>
              <style is="custom-style">
                calendar-element {
                    --input-picker-color: black;
                    --input-picker-background: white;
                }
              </style>
            </custom-style>
            <calendar-element
                locale="[[locale]]"
                date="{{date}}"
                on-click="dateSelected">
                </calendar-element>
            `;
    }

Would be really nice if this is already existing, but I didn't find the way to disable it. Thanks in advance !

komitoff avatar Aug 17 '22 08:08 komitoff