Changes between Initial Version and Version 1 of Ticket #25078, comment 5


Ignore:
Timestamp:
Jul 9, 2015, 11:21:57 AM (9 years ago)
Author:
Claude Paroz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25078, comment 5

    initial v1  
    1 Displaying a value is triggering a whole different machinery, as the `readonly_fields` admin patch shows. I think what we address in this issue is a lot simpler as we simply rely on a HTML attribute. I think that displaying the disabled form widget makes sense as we are still in the context of displaying a form, but for whatever reason, some field is not editable by the current user.
     1Displaying a value is triggering a whole different machinery, as the `readonly_fields` admin patch shows. I think what we address in this issue is a lot simpler as we simply rely on a HTML attribute of the widget. I think that displaying the disabled form widget makes sense as we are still in the context of displaying a form, but for whatever reason, some field is not editable by the current user.
Back to Top