mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 08:05:44 +00:00
fix(frontend): Fix selected value when the default value of a select component is null (#3778)
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
} else if (listItems.length > 0 && resolvedConfig?.preselectFirst) {
|
||||
rawValue = resolvedConfig.items[0].value
|
||||
}
|
||||
if (rawValue !== undefined) {
|
||||
if (rawValue !== undefined && rawValue !== null) {
|
||||
value = JSON.stringify(rawValue)
|
||||
outputs?.result.set(rawValue)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user