[
https://issues.apache.org/jira/browse/OFBIZ-10367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451702#comment-16451702 ]
Pawan Verma edited comment on OFBIZ-10367 at 4/25/18 6:26 AM:
--------------------------------------------------------------
Attaching patch for this improvement. To disable a form-widget checkbox, disable attribute will be used. Example:
{code:java}
<field><check disabled="true"/></field>{code}
Default value for the disabled attribute is false.
was (Author: pawan.verma):
Attaching patch for this improvement. To disable a form-widget checkbox, disable attribute will be used. Example:
{code:java}
<field><check disabled="true"/></field>
{code}
> Add Support for Disable attribute in CheckBox Form Widget
> ---------------------------------------------------------
>
> Key: OFBIZ-10367
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10367> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Pawan Verma
> Assignee: Pawan Verma
> Priority: Minor
> Attachments: OFBIZ-10367.patch
>
>
> While working on the Inventory Transfer improvements, I have found that there should be support in CheckBox form-widget to disable a checkbox. There might be several use cases for this, I am listing one below:
> Use Case: A screen list all the requirement out of which only Approved Requirement is allowed to perform some action and other should not be allowed to select.
> To support this type of case there should be a support to disable a form-widget checkbox.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)