Skip to content

Commit

Permalink
add console.log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiadong.Yu committed Jan 7, 2018
1 parent 12b3cf7 commit d05818e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fields/core/fieldInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default {
onInput($event) {
let value = $event.target.value;
switch(this.schema.inputType.toLowerCase()) {
case "number":
case "number":
case "range":
if($event.target.valueAsNumber) {
value = $event.target.valueAsNumber;
Expand All @@ -110,6 +110,7 @@ export default {
},
mounted () {
console.log('this.schema.inputType',this.schema.inputType)
switch(this.schema.inputType.toLowerCase()) {
case "number":
case "range":
Expand Down Expand Up @@ -138,7 +139,7 @@ export default {
created () {
if(this.schema.inputType.toLowerCase() == "file") {
console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
}
}
};
Expand Down

0 comments on commit d05818e

Please sign in to comment.