Disables the save button when editted need is not valid
@@ -104,7 +104,7 @@ function genComponentConf() {
<won-labelled-hr label="::'done?'" class="cp__footer__labelledhr"></won-labelled-hr>
<won-publish-button on-publish="self.publish(persona)" is-valid="self.isValid()" show-personas="self.isHoldable" ng-if="self.showCreateInput && !self.isEditFromNeed"></won-publish-button>
<div class="cp__footer__edit" ng-if="self.loggedIn && self.showCreateInput && self.isEditFromNeed && self.isFromNeedEditable">
- <button class="cp__footer__edit__save won-button--filled red" ng-click="self.save()">
+ <button class="cp__footer__edit__save won-button--filled red" ng-click="self.save()" ng-disabled="!self.isValid()">
Save
</button>
<button class="cp__footer__edit__cancel won-button--outlined thin red" ng-click="self.router__back()">
