Untitled conversation
- User
[plugin:vite:vue] [@vue/compiler-sfc] defineProps() cannot accept both type and non-type arguments at the same time. Use one or the other.
/home/asofi/Benches/bench_asofi_v15/apps/taakd_app/taakd/src/components/styledInput.vue 98 | } 99 |
100| const props = defineProps({ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 101| id: { type: String, required: true }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 102| name: { type: String, required: true }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103| labelText: { type: String, default: "Label" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 104| labelColor: { type: String, default: "dark_gray" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 105| isMandatory: { type: Boolean, default: false }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 106| infoText: { type: String, default: "" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 107| inputType: { type: String, default: "text" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 108| isValid: { type: [Boolean, null], default: null }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 109| validationMessage: { type: String, default: "" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 110| modelValue: { type: String, default: "" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 111| placeholder: { type: String, default: "Enter at least 3 characters" }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 112| disabled: { type: Boolean, default: false }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 113| }); | ^^ /home/asofi/Benches/bench_asofi_v15/apps/taakd_app/taakd/src/components/styledInput.vue - Assistant