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

Fix readOnly and default handling #117

Closed
elbakerino opened this issue Mar 31, 2021 · 1 comment
Closed

Fix readOnly and default handling #117

elbakerino opened this issue Mar 31, 2021 · 1 comment
Labels
bug Something isn't working plugin validators
Projects
Milestone

Comments

@elbakerino
Copy link
Member

elbakerino commented Mar 31, 2021

Currently default will be applied, even when it is readOnly, related to default behaviour on mounting #111

@elbakerino elbakerino added bug Something isn't working plugin validators labels Mar 31, 2021
@elbakerino elbakerino added this to the v0.3.0 milestone Mar 31, 2021
@elbakerino elbakerino added this to To do in ui-schema via automation Mar 31, 2021
@elbakerino
Copy link
Member Author

elbakerino commented Jul 3, 2021

Implemented and fixed.
default handling now respects either the PluginStack level prop: readOnly or schema.readOnly, when set, will not apply default keyword. But when e.g. readOnly is false (after true), and the other default-apply-rules are true, it will apply default.

ui-schema automation moved this from To do to Done Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin validators
Projects
ui-schema
  
Done
Development

No branches or pull requests

1 participant