Skip to content

Commit

Permalink
File input warning message fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
hansi90 committed Oct 17, 2017
1 parent 4a57609 commit c0ea9f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fields/core/fieldInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ export default {
},
created () {
console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
if(this.schema.inputType == "file")
console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
}
};
Expand Down

0 comments on commit c0ea9f7

Please sign in to comment.