Skip to content

Commit 923bc3c

Browse files
committed
added form input type class
1 parent 718681f commit 923bc3c

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

dist/vue-formly-bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ return /******/ (function(modules) { // webpackBootstrap
747747
/* 41 */
748748
/***/ function(module, exports) {
749749

750-
module.exports = "\n<div class=\"form-group formly-input\" :class=\"{'formly-has-value': form[key].value, 'formly-has-focus': form[key].$active}\">\n <label v-if=\"form[key].label\" :for=\"form[key].id ? form[key].id : null\">{{form[key].label}}</label>\n <input class=\"form-control\" :class=\"form[key].classes\" :id=\"form[key].id ? form[key].id : null\" :type=\"form[key].inputType || text\" v-model=\"form[key].value\" @blur=\"onBlur\" @focus=\"onFocus\" @click=\"onClick\" @change=\"onChange\" @keyup=\"onKeyup\" @keydown=\"onKeydown\" v-formly-atts=\"form[key].atts\">\n</div>\n";
750+
module.exports = "\n<div class=\"form-group formly-input\" :class=\"[ form[key].inputType, {'formly-has-value': form[key].value, 'formly-has-focus': form[key].$active}]\">\n <label v-if=\"form[key].label\" :for=\"form[key].id ? form[key].id : null\">{{form[key].label}}</label>\n <input class=\"form-control\" :class=\"form[key].classes\" :id=\"form[key].id ? form[key].id : null\" :type=\"form[key].inputType || text\" v-model=\"form[key].value\" @blur=\"onBlur\" @focus=\"onFocus\" @click=\"onClick\" @change=\"onChange\" @keyup=\"onKeyup\" @keydown=\"onKeydown\" v-formly-atts=\"form[key].atts\">\n</div>\n";
751751

752752
/***/ },
753753
/* 42 */

0 commit comments

Comments
 (0)