Skip to content

Commit

Permalink
feat(vue): add default value for createSchemaField (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdin authored Jul 16, 2024
1 parent b452413 commit 0eeeb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/components/SchemaField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const markupProps = {

export function createSchemaField<
Components extends SchemaVueComponents = SchemaVueComponents
>(options: ISchemaFieldVueFactoryOptions<Components>): SchemaFieldComponents {
>(options: ISchemaFieldVueFactoryOptions<Components> = {}): SchemaFieldComponents {
const SchemaField = {
name: 'SchemaField',
inheritAttrs: false,
Expand Down

0 comments on commit 0eeeb0c

Please sign in to comment.