Modify ↓
Ticket #289 (closed enhancement: fixed)
Read only attribute for form field
| Reported by: | bc | Owned by: | mpo |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | modules/kauri-forms | Version: | trunk |
| Keywords: | read only | Cc: |
Description
It would be nice to have some sort of "read only" attribute for a form field (cfr. disabled) that displays the field as normal text instead of a form field.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Would output-control (since r1374 in basic-controls.js) satisfy your needs, or am I missing the question?
An alternative approach might indeed be that we impose all fields to be able to support some 'view-only' mode, but I think the 'disabled' attribute already does that, no?