Make mandatory validation work for Markdown Editor
This commit is contained in:
committed by
Sebastiaan Janssen
parent
77e41489c1
commit
1d6dbbebe3
@@ -1,7 +1,7 @@
|
||||
<div class="wmd-panel" ng-controller="Umbraco.PropertyEditors.MarkdownEditorController">
|
||||
<div id="wmd-button-bar-{{editorId}}"></div>
|
||||
|
||||
<textarea class="wmd-input" id="wmd-input-{{editorId}}" ng-model="model.value"></textarea>
|
||||
<textarea class="wmd-input" id="wmd-input-{{editorId}}" ng-model="model.value" ng-required="model.validation.mandatory"></textarea>
|
||||
|
||||
<div class="wmd-panel wmd-preview" id="wmd-preview-{{editorId}}" ng-show="model.config.preview"></div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user