mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
feat(frontend): add disabled prop to select input (#2007)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user