[forge-issues] [JBoss JIRA] (FORGE-1848) IDE loose defaultValue on dependent field update

Aslak Knutsen (JIRA) issues at jboss.org
Wed May 21 13:40:56 EDT 2014


     [ https://issues.jboss.org/browse/FORGE-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen updated FORGE-1848:
---------------------------------

    Description: 
Setup:
2 DropDown lists, where the second DropDown's value depend on the value of the first DropDown.

Steps:
1. Select a value from DropDown 1
2. DropDown 2 now has the defaultValue selected
3. Select a new value from DropDown 1

Step 4 - Expected:
DropDown 2 should now have the new defaultValue selected

Step 4 - Behavior:
DropDown 2's valueChoices are updated, but no defaultSelection is done


Example command:
https://github.com/aslakknutsen/plugin-arquillian/blob/8e3dfd162126cada806166dd98a1221d63b55a0a/src/main/java/org/jboss/forge/arquillian/command/AddContainerStep.java#L121

  was:
Setup:
2 DropDown lists, where the second DropDown's value depend on the value of the first DropDown.

Steps:
1. Select a value from DropDown 1
2. DropDown 2 now has the defaultValue selected
3. Select a new value from DropDown 1

Step 4 - Expected:
DropDown 2 should now have the defaultValue selected

Step 4 - Behavior:
DroPDown 2's valueChoices are updated, but no defaultSelection is done


Example command:
https://github.com/aslakknutsen/plugin-arquillian/blob/8e3dfd162126cada806166dd98a1221d63b55a0a/src/main/java/org/jboss/forge/arquillian/command/AddContainerStep.java#L121



> IDE loose defaultValue on dependent field update
> ------------------------------------------------
>
>                 Key: FORGE-1848
>                 URL: https://issues.jboss.org/browse/FORGE-1848
>             Project: Forge
>          Issue Type: Bug
>          Components: UI - Eclipse
>            Reporter: Aslak Knutsen
>
> Setup:
> 2 DropDown lists, where the second DropDown's value depend on the value of the first DropDown.
> Steps:
> 1. Select a value from DropDown 1
> 2. DropDown 2 now has the defaultValue selected
> 3. Select a new value from DropDown 1
> Step 4 - Expected:
> DropDown 2 should now have the new defaultValue selected
> Step 4 - Behavior:
> DropDown 2's valueChoices are updated, but no defaultSelection is done
> Example command:
> https://github.com/aslakknutsen/plugin-arquillian/blob/8e3dfd162126cada806166dd98a1221d63b55a0a/src/main/java/org/jboss/forge/arquillian/command/AddContainerStep.java#L121



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the forge-issues mailing list