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

Keys with 0n do not work (ie, 01, 02, 03) #28

Closed
tvalladon opened this issue Oct 3, 2011 · 3 comments
Closed

Keys with 0n do not work (ie, 01, 02, 03) #28

tvalladon opened this issue Oct 3, 2011 · 3 comments

Comments

@tvalladon
Copy link

Does not work:

        $('.keyboard.day').keyboard({
            restrictInput : true,
            preventPaste : true,
            autoAccept : true,
            layout: 'custom',
            customLayout: {
                'default' : [
                '01 02 03 04 05 06 07',
                '08 09 10 11 12 13 14',
                '15 16 17 18 19 20 21',
                '22 23 24 25 26 27 28',
                '29 30 31',
                '{accept} {cancel}'
                ]
            },
        });

Works:

        $('.keyboard.day').keyboard({
            restrictInput : true,
            preventPaste : true,
            autoAccept : true,
            layout: 'custom',
            customLayout: {
                'default' : [
                '1 2 3 4 5 6 7',
                '8 9 10 11 12 13 14',
                '15 16 17 18 19 20 21',
                '22 23 24 25 26 27 28',
                '29 30 31',
                '{accept} {cancel}'
                ]
            },
        });
@Mottie
Copy link
Owner

Mottie commented Oct 3, 2011

Hey tvalladon!

Thanks for reporting this... from the initial look of things, this issue is essentially the same problem as issue #27. But I'll leave both open until I get a better look.

Thanks!

@Mottie
Copy link
Owner

Mottie commented Oct 4, 2011

All fixed, try this demo.

@tvalladon
Copy link
Author

Works great! Thank you.

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

No branches or pull requests

2 participants