You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most angular validation can be done fairly cleanly in markup. This feels a bit hacky to me:
varvalidityWatcher;// ...// in a setup fn:validityWatcher=$scope.$watch("ctrl.selectionForm.$valid",function(isValid){ctrl.steps[0].valid=isValid;});// ... // in another fn:if(validityWatcher){validityWatcher();validityWatcher=undefined;}// // in a cleanup fn:ctrl.$onDestroy=function(){if(validityWatcher){validityWatcher();validityWatcher=undefined;}// ...
We have more than one form following this pattern now, ideally we can figure out a way to push it back up into markup.
or something less verbose but a bit more clear. "Next Title" seems to imply it will be the title for the next panel, when in fact, it is the text on the button in this panel, but clicking it will progress the user through the steps of the wizard.
Most angular validation can be done fairly cleanly in markup. This feels a bit hacky to me:
We have more than one form following this pattern now, ideally we can figure out a way to push it back up into markup.
@jeff-phillips-18 shall I open a patternfly issue as well to track?
The text was updated successfully, but these errors were encountered: