feat(frontend): add disabled prop to select input (#2007)

This commit is contained in:
DM-Canteen
2023-08-08 10:09:25 +10:00
committed by GitHub
parent 9ad4bf7946
commit afb2e48fb8
2 changed files with 6 additions and 0 deletions
@@ -203,6 +203,7 @@
css?.input?.style}
{value}
placeholder={resolvedConfig.placeholder}
disabled={resolvedConfig.disabled}
on:focus={() => {
if (!$connectingInput.opened) {
$selectedComponent = [id]
@@ -1515,6 +1515,11 @@ This is a paragraph.
value: 'Select an item',
onlyStatic: true
},
disabled: {
fieldType: 'boolean',
type: 'static',
value: false
},
defaultValue: {
type: 'static',
value: undefined,