1
0
Fork 0
mirror of synced 2024-10-03 02:27:06 +13:00

Fix autoscreen-generated form component default settings

This commit is contained in:
Andrew Kingston 2021-08-17 13:58:51 +01:00
parent db0183e8cf
commit cbcffd0a4a

View file

@ -161,7 +161,11 @@ export function makeDatasourceFormComponents(datasource) {
placeholder: field,
})
if (fieldType === "options") {
component.customProps({ placeholder: "Choose an option " })
component.customProps({
placeholder: "Choose an option",
optionsType: "select",
optionsSource: "schema",
})
}
if (fieldType === "link") {
let placeholder =