[jira] [Commented] (OFBIZ-11933) Checkbox not selected after searching with multiple options checked in form widget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11933) Checkbox not selected after searching with multiple options checked in form widget

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293622#comment-17293622 ]

ASF subversion and git services commented on OFBIZ-11933:
---------------------------------------------------------

Commit 6bfae1293a41c8d7ba1780f68678dcf3b8662236 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6bfae12 ]

Improved: Form widget "checkbox" do not persist selected value with multiple options checked (OFBIZ-12154)

I tried to use the form-widgets checkbox on a custom find screen.
But after searching values with option/s checked, no checkbox remains selected.

I found similar kind of ticket OFBIZ-11933.
The checkbox was replaced by usage of the asmselect jQuery plugin

This fixes the bug at the framework level.

jleroux: fixes checkstyle issues: missing spaces after (3) if

Thanks: Nameet Jain


> Checkbox not selected after searching with multiple options checked in form widget
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-11933
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11933
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>            Reporter: Akash Jain
>            Assignee: Akash Jain
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-11933.patch
>
>
> No checkbox appears as selected when we click on find button even though the order is filtered, this is happening on all the screens where form-widget is used, as <check> tag has an attribute all-check for checkboxes which is set to false.
> If the value of the checkbox is false then whenever the page loads, it unchecks all checkboxes and displays no checkbox as selected, but filters the result correctly.
> If we remove this attribute from the check element then it is working fine in case of single checkbox selection, but if multiple checkboxes are selected then again it shows all checkboxes as unchecked.
> This happens on all the find forms which are implemented using form-widgets.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)