Skip to content

Commit b7abbbc

Browse files
committed
Merge pull request #11 from petermekhaeil/md_input_has_value
missing 'md-input-has-value' if model exists and missing gulp-jscs from package.json
2 parents afb916e + 2e0e226 commit b7abbbc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"gulp": "^3.9.0",
1616
"gulp-angular-templatecache": "^1.6.0",
1717
"gulp-concat": "^2.5.2",
18+
"gulp-jscs": "^3.0.2",
1819
"gulp-minify-html": "^1.0.2",
1920
"gulp-rename": "^1.2.2",
2021
"gulp-uglify": "^1.2.0",

src/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<md-input-container class="schema-form-{{form.type}} {{form.htmlClass}}" sf-messages>
1+
<md-input-container class="schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{'md-input-has-value':model['{{form.key.slice(-1)[0]}}']}" sf-messages>
22
<label ng-show="showTitle()" for="{{form.key.slice(-1)[0]}}">{{form.title}}</label>
33
<!--
44
<input ng-if="!form.fieldAddonLeft && !form.fieldAddonRight"

0 commit comments

Comments
 (0)