Skip to content

Commit a72ce31

Browse files
committed
Revert "Fixing creation of checkbox from Boolean mongoose model"
1 parent 8cd4c3b commit a72ce31

File tree

6 files changed

+9
-26
lines changed

6 files changed

+9
-26
lines changed

dist/forms-angular-with-bs2.css

Lines changed: 2 additions & 2 deletions
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.

dist/forms-angular.js

Lines changed: 1 addition & 9 deletions
Large diffs are not rendered by default.

dist/forms-angular.min.js

Lines changed: 3 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/forms-angular.min.js.map

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

js/services/form-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ module fng.services {
344344
formInstructions.add = 'ui-date ui-date-format datepicker-popup-fix ';
345345
}
346346
}
347-
} else if (mongooseType.instance === 'Boolean') {
347+
} else if (mongooseType.instance === 'boolean') {
348348
formInstructions.type = 'checkbox';
349349
} else if (mongooseType.instance === 'Number') {
350350
formInstructions.type = 'number';

0 commit comments

Comments
 (0)