Skip to content

Commit

Permalink
Set default field type in add field in schema widet.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Dec 17, 2024
1 parent 27ec419 commit 7001f46
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,10 @@ class SchemaWidget extends Component {
});
}}
title={this.props.intl.formatMessage(messages.addField)}
formData={{}}
formData={{
factory:
find(choices, { value: 'label_text_field' }) || undefined,
}}
schema={schemaField(
this.state.addField,
this.props.intl,
Expand Down

0 comments on commit 7001f46

Please sign in to comment.