Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

add container element option for datetimepicker #197

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open

add container element option for datetimepicker #197

wants to merge 1 commit into from

Conversation

Leolima32
Copy link

Before this commit, I've had a problem adding the datepicker to an input who as inside a dialog element. In chrome, the datepicker was behind dialog and no z-index could put the datepicker on top

datetimebeforedialog

after that I've added an option for the user could choose the element he wants to attach the datepicker making easier to handle such problems. I've added the dialog element as a container and it did work

datetimeafterdialog

The body continues to be de default element for attaching the datepicker. One final word about this. Supplying a container option is kind of default for some datepicker libraries like Pikday

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant