[ 
https://issues.apache.org/jira/browse/OFBIZ-6395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-6395.
----------------------------------
    Resolution: Implemented

Implemented at revision: 1680921  

I forgot to say that the disabled option is also not a good fit when you want 
to show the submitted values on return, hence the need for readonly.

Note though that this option does not work with select and you need to handle 
this with Javascript as explained for instance at 
https://stackoverflow.com/questions/368813/html-form-readonly-select-tag-input

> The lookup and text-area have a read-only attribute but not the text input 
> field
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6395
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6395
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> I will add a read-only attribute to the text input field. Using the display 
> type is not enough, because it's uneasy to assign values through Javascript 
> as using the lookup description-field-name shows OOTB.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to