That's operating as designed. A canSave=false field is rendered by default as a StaticTextItem which doesn't have a disabled state because it is never editable.
Announcement
Collapse
No announcement yet.
X
-
Originally posted by IsomorphicsetDisabled() disables the item, however, since a StaticTextItem is not editable at all, by design there is no distinction between it's enabled and disabled appearance. If you don't like that styling, you can change it.
In any case, how do I change that styling? I've tried using stylesheets and can't get it to work.
Comment
-
Not sure why you don't believe the developer, but a StaticTextItem does not have a different disabled style. This is not specific to a non-editable date. Any field defined canSave=false in the DataSource is rendered as a StaticTextItem. This is NOT the same as disabling an item later. Additionally, labels on other form items are NOT StaticTextItems.
Search the skin .css file for staticTextItem for details on the styles being applied.
Comment
Comment