Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

ReadOnly clears data #144

@marcbecker

Description

@marcbecker

When changing a field to "readOnly" by means of this command

$(".infoSection .selectivity-input").selectivity('setOptions', { readOnly: true })

the entire field is being cleared and I cannot enter new values through clicking after i set it back to false. The dropdown appears but the values are not entered. Through jquery it does not work either. I tried the following.

$(".infoSection .selectivity-input").selectivity("data",taskDOM.find(".selectivity-input").eq(0).selectivity("data"));

Do you have any idea how to fix that? Because not everybody should be able to change the input.

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