Skip to content

Commit 0af85df

Browse files
committed
fix(styles) Add a red border to invalid fields
1 parent 776e178 commit 0af85df

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

dist/forms-angular-with-bs2.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/forms-angular-with-bs3.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

less/forms-angular-bs-common.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ form {
131131
input.ng-invalid-required, select.fng-invalid-required, select.ng-invalid-required, textarea.ng-invalid-required {
132132
background-color: rgba(255, 0, 0, 0.10);
133133
}
134+
135+
input.ng-invalid:focus {
136+
border: solid 1px red;
137+
}
138+
134139
option {
135140
background-color: white;
136141
}

server/data_form.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,4 +1081,3 @@ DataForm.prototype.entityList = function () {
10811081
});
10821082
}, this);
10831083
};
1084-
//# sourceMappingURL=data_form.js.map

0 commit comments

Comments
 (0)