[jira] [Commented] (OFBIZ-10326) Implement dependency from "State/Province" Field to "Country" in New Employee Form

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

[jira] [Commented] (OFBIZ-10326) Implement dependency from "State/Province" Field to "Country" in New Employee Form

Nicolas Malin (Jira)

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

Benjamin Jugl commented on OFBIZ-10326:
---------------------------------------

Thank you [~jleichert] for the patch.

> Implement dependency from "State/Province" Field to "Country" in New Employee Form
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10326
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10326
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Benjamin Jugl
>            Priority: Minor
>         Attachments: OFBIZ-10326_org.apache.ofbiz.humanres.widget.Employee_dependentDropdown.patch
>
>
> In OFBiz go to Facility -> Contact Information -> New Contact Information
> Select "Postal Address" in the dropdown and click "create". In this form the "State/Province" dropdown is dependant on the "Country" dropdown. Once a country is selected the States of that country will be in the selection of the first dropdown. This behaviour should be part of every form which has an address as an input. The dropdown dependencies are realized with the getDependentDropdownValues function in miscAjaxFunctions.js.
> A place where this functionality is missing is in the HR section of OFBiz. Got to HR -> Employees -> New Employee ([https://localhost:8443/humanres/control/NewEmployee])
> Here, the "State" dropdown lists ALL states which are listed in the geo entity. It would be nice to implement dependant dropdowns here aswell.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)