1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00

Use automatic formatting for generated longform fields

This commit is contained in:
Andrew Kingston 2022-02-07 12:11:20 +00:00
parent a96ef98e39
commit a575763bf6

View file

@ -169,6 +169,11 @@ export function makeDatasourceFormComponents(datasource) {
optionsSource: "schema",
})
}
if (fieldType === "longform") {
component.customProps({
format: "auto",
})
}
if (fieldType === "array") {
component.customProps({
placeholder: "Choose an option",