Skip to content

handleOpen is stopping clicks on other components in the input slot #973

Closed
@JohnCampionJr

Description

@JohnCampionJr

So I have an input control with a checkbox set as the input component in the slot.

image

But VueDatePicker stops the checkbox from working. (ie it works when the component is not inside of VueDatePicker).

I'm fairly sure this is being caused by the handleOpen click event preventing the default:

https://github.com/Vuepic/vue-datepicker/blob/6993cd913c95a504fd4c0079d86de54961566309/src/VueDatePicker/components/DatepickerInput.vue#L2C5-L2C30

which then goes here:

Could you add an ability to disable this event entirely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions