Use automatic formatting for generated longform fields
This commit is contained in:
parent
a96ef98e39
commit
a575763bf6
|
@ -169,6 +169,11 @@ export function makeDatasourceFormComponents(datasource) {
|
||||||
optionsSource: "schema",
|
optionsSource: "schema",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if (fieldType === "longform") {
|
||||||
|
component.customProps({
|
||||||
|
format: "auto",
|
||||||
|
})
|
||||||
|
}
|
||||||
if (fieldType === "array") {
|
if (fieldType === "array") {
|
||||||
component.customProps({
|
component.customProps({
|
||||||
placeholder: "Choose an option",
|
placeholder: "Choose an option",
|
||||||
|
|
Loading…
Reference in New Issue