Skip to content

Commit 0eeeb0c

Browse files
authored
feat(vue): add default value for createSchemaField (#4123)
1 parent b452413 commit 0eeeb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue/src/components/SchemaField.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const markupProps = {
120120

121121
export function createSchemaField<
122122
Components extends SchemaVueComponents = SchemaVueComponents
123-
>(options: ISchemaFieldVueFactoryOptions<Components>): SchemaFieldComponents {
123+
>(options: ISchemaFieldVueFactoryOptions<Components> = {}): SchemaFieldComponents {
124124
const SchemaField = {
125125
name: 'SchemaField',
126126
inheritAttrs: false,

0 commit comments

Comments
 (0)