You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/22 21:06:48 UTC

[jira] [Commented] (CLOUDSTACK-3560) UI: extend dependsOn property in dialog widget to accept an array of string

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

ASF subversion and git services commented on CLOUDSTACK-3560:
-------------------------------------------------------------

Commit 20181ea829d1e57f7afcf527831add4a3acabd9d in branch refs/heads/wip-cs-3560-multi-dependson from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=20181ea ]

CLOUDSTACK-3560: UI createForm: Support multiple dependsOn targets

Support passing list of dependsOn targets for form fields. This will
trigger a change if any items specified in list are changed.

Example:

fieldA: {...},
fieldB: {...},
fieldC: { dependsOn: ['fieldA', 'fieldB'] }

                
> UI: extend dependsOn property in dialog widget to accept an array of string
> ---------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3560
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3560
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>            Reporter: Jessica Wang
>            Assignee: Brian Federle
>             Fix For: 4.2.0
>
>
> Currently, dependsOn property in dialog widget only accept a string, 
> e.g. dependsOn: ‘scope’
> But a dialog field may depend on multiple other dialog fields,
> e.g. dependsOn: [‘scope’, ‘zoneId’]
> (i.e. the field should change when scope field changes or when zoneId field changes).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira