Switched fields around on the form/summary screen. #3071
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After user entered data in Default value field and then switched Data Type drop down value, form resets Default Value field to be empty which was causing confusion. By switching fields around user will first pick data type and then enter data in Default Value field.
To be consistent switched fields on both Ansible/Non-Ansible forms.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1525584
before:
![before](https://user-images.githubusercontent.com/3450808/34014677-140ae7cc-e0ea-11e7-9fb6-c291b5ba1758.png)
![before1](https://user-images.githubusercontent.com/3450808/34014681-17574f9c-e0ea-11e7-8169-3673c7253925.png)
after:
![after](https://user-images.githubusercontent.com/3450808/34014684-1a87c016-e0ea-11e7-8882-db32fbd10bec.png)
![after_1](https://user-images.githubusercontent.com/3450808/34014691-1d843704-e0ea-11e7-9407-db46877702e1.png)
![after3](https://user-images.githubusercontent.com/3450808/34014694-1f7b952a-e0ea-11e7-8283-66ae40b00939.png)
@mkanoor please review.