We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19435b6 commit 69a9a18Copy full SHA for 69a9a18
1 file changed
meta_configurator/src/components/panels/gui-editor/resolveCorrespondingComponent.ts
@@ -77,12 +77,6 @@ export function resolveCorrespondingComponent(
77
...propsObject,
78
});
79
}
80
-
81
- if (nodeData.schema.hasType('string')) {
82
- // @ts-ignore
83
- return h(StringProperty, propsObject);
84
- }
85
86
if (nodeData.schema.hasType('string') && nodeData.schema.format === 'date') {
87
// @ts-ignore
88
return h(DateProperty, propsObject);
@@ -92,6 +86,10 @@ export function resolveCorrespondingComponent(
92
93
return h(EmailProperty, propsObject);
94
89
+ if (nodeData.schema.hasType('string')) {
90
+ // @ts-ignore
91
+ return h(StringProperty, propsObject);
+ }
95
96
if (nodeData.schema.hasType('boolean')) {
97
0 commit comments