Skip to content

Changing decimal separator in numpad #318

@ghost

Description

Hello and thanks for this great keyboard,

I'm having a problem when changing the decimal separator from dot(.) to comma(,).

This is how i add a keyboard in a textarea:

    $(document).ready(function () {
       $('.keyboard').keyboard({
            layout: 'num',
            display: {
                'dec': ',:Decimal'
            }
        });
    });

Why is the decimal separator not changing though?
I tried reading through your code, but the keyset you pass as an argument when adding keys in the keyboard, the dot is always used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions