Opened 5 years ago
Closed 5 years ago
#1485312 closed Bugs (fixed)
Please add "readonly" attribute to $allowed in class hmtl_inputfield
| Reported by: | rosali | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-beta |
| Component: | PHP backend | Version: | 0.2-alpha |
| Severity: | normal | Keywords: | |
| Cc: |
Description
./program/include/html.php line 251
Change History (3)
comment:1 follow-up: ↓ 2 Changed 5 years ago by alec
- Component changed from Client Scripts to PHP backend
comment:2 in reply to: ↑ 1 Changed 5 years ago by rosali
Replying to alec:
protected is ok, what you mean by read-only and why?
I need the "readonly" attribute for text input fields in templates. I use for date settings a date picker. So, a user should not be able to edit the input field. Yes, I could use a hidden field, but then the user does not see what the date picker returns!
line251
_
Find me: Bug Fix: 'readonly' was missing !![[BR]]
protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange', 'onclick', 'disabled', 'readonly',);
comment:3 Changed 5 years ago by alec
- Milestone changed from later to 0.2-beta
- Resolution set to fixed
- Status changed from new to closed
Fixed in [15187021]
Note: See
TracTickets for help on using
tickets.

protected is ok, what you mean by read-only and why?