Skip to content

Commit

Permalink
fix(designable-antd): add default name value
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jul 28, 2021
1 parent e2f1f5e commit a07f1c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions designable/antd/src/components/DesignableField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export const createDesignableField = (options: IDesignableFieldProps) => {
type: 'string',
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component-props': {
defaultValue: node.id,
},
'x-index': 0,
},
title: {
Expand Down

0 comments on commit a07f1c9

Please sign in to comment.