Skip to content

option to append the datetime picker component on element other than document body #54

@c0demark

Description

@c0demark

When I see into the code of the this module it has some line

$document[0].body.appendChild(datetimePickerEl);

I want to open up the datetime pickker on a modal boz which itself appends to the body. So when I use this library, the datetimepicker open up behind the modal box.

Is there any option to customize the appending of datetime picker component on an element other than document body.. I mean can't I give the parent element ref as an input paramter to its api to work like how we can give input paramneter for date format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions