Skip to content

Custom Attributes. #18

Description

@Vallevard

Hi,
The last year I came across with the problem to add custom attributes like disabled or required in date inputs.
To solve my problem I added new option called attributes in pikaday responsive file.
And in my file that I wanted to configure an input I did the following:

pikadayResponsive(document.getElementById("myId"),{
    attributes: 'required disabled'
});

Here is an example if someone is facing the same problem : Custom Attrs

Regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions