Labels |
Added:
?
|
Title |
|
Title |
|
Category | ⇒ | com_fields |
Title |
|
I just exposed them. But I think they are more confusing than helpful. Like now you can show a value to the user which is not editable, that's all really.
I really cant see a valid use case for them and as such they should be removed. The only use case I can think of for having a field disabled/readonly in an edit form would be if the user accessing the edit form doesnt have the correct ACL permissions but the correct way to do that would be with the ACL.
The only use case I can think of for having a field disabled/readonly in an edit form would be if the user accessing the edit form doesnt have the correct ACL permissions but the correct way to do that would be with the ACL.
That works already independent of exposing that setting.
exactly - so we dont need these extra fields which just complicate the UI and dont really do anything
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-18 10:55:24 |
Closed_By | ⇒ | Bakual |
There is definitely a use for readonly and disabled fields. A good case example for readonly would be a membership organization who wants to assign member id, type, and expiration. An administrator can set those for recordkeeping and not allow the user to edit the fields but to only view them. A good case example for disabled is allowing members to have access to a file so the URL to the file would be there. By disabling that field, the file no longer becomes available.
that can be ahieved with the acl
Yep, it would meant that. Maybe as a temporary state?
@laoneo Did you just expose all possible formfield attributes or did you have a usecase in mind here?