Jasper Floor pushed to branch feature/ESSENTIALS-1106 at cms-community / 
hippo-essentials


Commits:
c49fb4fb by Jasper Floor at 2017-11-27T16:52:41+01:00
ESSENTIALS-1106 disable input in not checked

- - - - -


1 changed file:

- 
plugins/related-documents/src/main/resources/META-INF/resources/feature/relatedDocumentsPlugin/relatedDocumentsPlugin.html


Changes:

=====================================
plugins/related-documents/src/main/resources/META-INF/resources/feature/relatedDocumentsPlugin/relatedDocumentsPlugin.html
=====================================
--- 
a/plugins/related-documents/src/main/resources/META-INF/resources/feature/relatedDocumentsPlugin/relatedDocumentsPlugin.html
+++ 
b/plugins/related-documents/src/main/resources/META-INF/resources/feature/relatedDocumentsPlugin/relatedDocumentsPlugin.html
@@ -39,7 +39,7 @@
                         </td>
                         <td>{{doc.name}}</td>
                         <td>
-                            <input type="text" ng-model="doc.searchPaths" 
ng-required="doc.checked" name="searchPaths"/>
+                            <input type="text" ng-model="doc.searchPaths" 
ng-required="doc.checked" name="searchPaths" ng-disabled="!doc.checked"/>
                             <essentials-folder-picker button-text="Select 
search folder"
                                                       title="Select search 
folder"
                                                       
selected-path="doc.searchPaths"
@@ -47,7 +47,7 @@
                                                       
end-point="{{endpoint}}"/>
                         </td>
                         <td>
-                            <input type="text" 
ng-model="doc.numberOfSuggestions" ng-required="doc.checked" 
name="numberOfSuggestions" />
+                            <input type="text" 
ng-model="doc.numberOfSuggestions" ng-required="doc.checked" 
name="numberOfSuggestions" ng-disabled="!doc.checked"/>
                         </td>
                         <td>
                             <essentials-cms-document-type-deep-link



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-essentials/commit/c49fb4fb410ac992d4235236bcf00bba3121c1ec

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-essentials/commit/c49fb4fb410ac992d4235236bcf00bba3121c1ec
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to