You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/forms/BaseForm.vue
+3-3
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,10 @@ const props = defineProps({
47
47
type: Boolean,
48
48
default: true,
49
49
},
50
-
/** The CSS classes to apply to the submit button */
50
+
/** The CSS classes to apply to the submit button. Null should theoretically render no class, but there's a known Vue3 issue @seehttps://github.com/vuejs/core/issues/3173*/
Copy file name to clipboardexpand all lines: src/forms/__tests__/__snapshots__/BaseForm.spec.ts.snap
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
exports[`Base Form > accepts inputs in its default slot 1`] =`
4
4
"<form>
5
-
<!-- @slot This is the default slot for the form. You can use this to add any input or button you want. --><inputtype="text"><inputtype="text"><!-- @slot This is the slot for the submit button. You can use this to add a custom submit button or action. --><buttondisabled=""type="submit"tabindex="0"aria-busy="false">Submit</button><!-- @slot This is the slot for after the submit. This is useful for back buttons or other actions. -->
5
+
<!-- @slot This is the default slot for the form. You can use this to add any input or button you want. --><inputtype="text"><inputtype="text"><!-- @slot This is the slot for the submit button. You can use this to add a custom submit button or action. --><buttondisabled=""type="submit"tabindex="0"aria-busy="false"class="">Submit</button><!-- @slot This is the slot for after the submit. This is useful for back buttons or other actions. -->
6
6
</form>"
7
7
`;
8
8
9
9
exports[`Base Form > renders a form element 1`] = `
10
10
"<form>
11
11
<!-- @slot This is the default slot for the form. You can use this to add any input or button you want. -->
12
-
<!-- @slot This is the slot for the submit button. You can use this to add a custom submit button or action. --><buttondisabled=""type="submit"tabindex="0"aria-busy="false">Submit</button><!-- @slot This is the slot for after the submit. This is useful for back buttons or other actions. -->
12
+
<!-- @slot This is the slot for the submit button. You can use this to add a custom submit button or action. --><buttondisabled=""type="submit"tabindex="0"aria-busy="false"class="">Submit</button><!-- @slot This is the slot for after the submit. This is useful for back buttons or other actions. -->
0 commit comments