Skip to content

Can't modify readOnly option #32

@nathd27

Description

@nathd27

I created the knob inputs in the document.ready event (with readonly set at the default false value).

I want to set the readonly option to true for all the .knob objects when i click on a buttton.
The click event is well triggered and bind and I trigger the configure event of the knob as written just after, but i still can click and change the value of the input... is it my code, or just that i can't change the readonly value after the knob's creation ?

$('.knob').trigger('configure',{'readOnly': true});

Waiting for an answer,
Thanks for any help...

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