mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
fix: prevent AI fill inputs freezing (#3226)
This commit is contained in:
@@ -224,7 +224,11 @@
|
||||
propertyType === 'static' ||
|
||||
arg?.expr?.length > 0}
|
||||
on:showExpr={(e) => {
|
||||
monaco?.setSuggestion(e.detail)
|
||||
setTimeout(() => {
|
||||
if (monaco && propertyType === 'javascript') {
|
||||
monaco.setSuggestion(e.detail)
|
||||
}
|
||||
}, 0)
|
||||
}}
|
||||
on:setExpr={(e) => {
|
||||
arg = {
|
||||
@@ -404,7 +408,6 @@
|
||||
focused = false
|
||||
}}
|
||||
autoHeight
|
||||
preventTabOnEmpty={enableAi}
|
||||
/>
|
||||
</div>
|
||||
<DynamicInputHelpBox />
|
||||
|
||||
Reference in New Issue
Block a user