Skip to content

Commit 2c1cd81

Browse files
gautamjajooRishabhJain2018
authored andcommitted
Fix Cloud-CV#1875: Disable edit challenge name button until the input field is not changed(Cloud-CV#1890)
1 parent fa2756c commit 2c1cd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/web/challenge/edit-challenge/edit-challenge-title.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a ng-click="challenge.editChallengeTitle(false)" class="dark-link pointer"><strong>Cancel</strong></a>
1515
</li>
1616
<li>
17-
<button class="btn ev-btn-dark waves-effect waves-dark grad-btn grad-btn-dark fs-14" type="submit" value="submit">Submit</button>
17+
<button class="btn ev-btn-dark waves-effect waves-dark grad-btn grad-btn-dark fs-14" ng-disabled="editChallengeTitleForm.$pristine" type="submit" value="submit">Submit</button>
1818
</li>
1919
</ul>
2020
</form>

0 commit comments

Comments
 (0)