New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dynamic fields responders after change #347
Conversation
@miq-bot add_label bug, blocker, gaprindashvili/yes |
/cc @d-m-u |
Thanks, @romanblanco !! 🎉 |
Checked commit romanblanco@3b7be84 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@@ -42,6 +42,7 @@ <h4 class="modal-title" id="myModalLabel" translate>Edit Field Details</h4> | |||
pf-label="{{'Dynamic'|translate}}"> | |||
<input bs-switch | |||
ng-model="vm.modalData.dynamic" | |||
ng-change="vm.updateDialogFieldResponders(vm.modalData.name)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a default implementation of vm.updateDialogFieldResponders
?
Unconditionally calling an optional function sounds potentially bad...
EDIT: never mind, this is always defined
Update dynamic fields responders after change (cherry picked from commit f9c976b) https://bugzilla.redhat.com/show_bug.cgi?id=1632769
Gaprindashvili backport details:
|
Released in 1.0.36 |
https://bugzilla.redhat.com/show_bug.cgi?id=1614436
Removing field changed from dynamic to static from the list of responders for each associated field.
Steps to reproduce: