Open funder7 opened 5 years ago
@MikaelEdebro @fadafez
I have the same issue. When I click on "select dates" input, the modal does not come up.
In the image below you can see the input field is focused but no modal appears ?
This is urgent.
Sorry @danielmaartens but I cannot help you, I'm not working on that project anymore :/
Hi, I've found other issues related to this, but I'd like to point out that when the datepicker component is instantiated, no triggering event is linked to the related dom elements (input, button, etc...).
At the moment, specifying the triggerElementId does nothing, so in order to fix it I had to follow some suggestions found in the other similar issues. Actually I've created a property in the data object in my custom component (which contains AirbnbStyleDatepicker). Afterwards, I've linked a "showPicker" method to the @click event attached to the dom element which has to fire the trigger event.
I think that this issue has to be fixed, because the triggerElementId property is a key feature of this component.