Skip to content

Commit 4a7686b

Browse files
authored
Recommend to use "upload" field
The "file" field was renamed to "upload". Also change it in the warning message.
1 parent 721a4ee commit 4a7686b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fields/core/fieldInput.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default {
177177
178178
created() {
179179
if (this.schema.inputType.toLowerCase() === "file") {
180-
console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
180+
console.warn("The 'file' type in input field is deprecated. Use 'upload' field instead.");
181181
}
182182
}
183183
};

0 commit comments

Comments
 (0)