Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Attributes. #18

Open
Vallevard opened this issue Feb 4, 2017 · 6 comments
Open

Custom Attributes. #18

Vallevard opened this issue Feb 4, 2017 · 6 comments

Comments

@Vallevard
Copy link

Vallevard commented Feb 4, 2017

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!

@cmer
Copy link

cmer commented Dec 22, 2020

Any chance a tag with this change could be released? thanks.

@Vallevard
Copy link
Author

Hi @cmer, There is a PR #22 that is already merged into master branch.

@cmer
Copy link

cmer commented Dec 22, 2020 via email

@Vallevard
Copy link
Author

Vallevard commented Dec 22, 2020

@cmer ok, I did build it and I didn't have any issues, you can find the result here: build hope it helps you

Or maybe you can share the issues and maybe I can help

@cmer
Copy link

cmer commented Dec 23, 2020

I learned my Javascript on Dynamic Drive, so it might as well be me. Thanks for the build!

@Vallevard
Copy link
Author

it's a little bit tricky sometimes, if you need some help about it, I will be glad to help.

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

No branches or pull requests

2 participants