You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2018/12/08 13:38:00 UTC

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

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

Pierre Smits commented on OFBIZ-10326:
--------------------------------------

Setting appropriate component (based on patch provided).

> 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: humanres
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Michael Brohl
>            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)