Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent readonly fields from being hidden on load, e.g. page history
- Loading branch information
4dbd674
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change breaks display-logic for all read-only fields.
I see why you did it, but in some cases it is on purpose that a read-only field is hidden. I think we need some other way of handling this.
the module already hooks into FormField, how about overwriting
performReadonlyTransformation()
and disabling display-logic at that point?this way we would only disable display-logic at places where a field was normal and has been transformed to read-only, but not those that where read-only already.
4dbd674
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@unclecheese any comment? should I create an issue out of this?
4dbd674
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you used the dev-master branch? I just made a whole pile of changes that should mitigate this issue, most notably, no more custom templates.
4dbd674
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, thanks.
no, I haven't. hard coded the commit before this one as dependency. will update now and see if it's fixed.
4dbd674
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@unclecheese no, this issue is still present. read only fields are still not being handled.