Skip to content

Allow evaluation on readonly like condition #597

Closed
@robinduckett

Description

@robinduckett

I don't know if this is a bug, or a feature, but currently, the "readonly" option which applies whether a form element should be disabled or not, take only a boolean value. If you pass in a model string, such as you can do with condition, it does not get evaluated, and gets cast as false, all the time.

https://gist.github.com/70a6463541309b29bacd

http://schemaform.io/examples/bootstrap-example.html#/70a6463541309b29bacd

It seems unintuitive that you can do this with conditional but not with readonly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions