Fix autoscreen-generated form component default settings
This commit is contained in:
parent
db0183e8cf
commit
cbcffd0a4a
|
@ -161,7 +161,11 @@ export function makeDatasourceFormComponents(datasource) {
|
||||||
placeholder: field,
|
placeholder: field,
|
||||||
})
|
})
|
||||||
if (fieldType === "options") {
|
if (fieldType === "options") {
|
||||||
component.customProps({ placeholder: "Choose an option " })
|
component.customProps({
|
||||||
|
placeholder: "Choose an option",
|
||||||
|
optionsType: "select",
|
||||||
|
optionsSource: "schema",
|
||||||
|
})
|
||||||
}
|
}
|
||||||
if (fieldType === "link") {
|
if (fieldType === "link") {
|
||||||
let placeholder =
|
let placeholder =
|
||||||
|
|
Loading…
Reference in New Issue