mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 16:02:11 +00:00
fix: app stepper no longer runs its validation on subgrid focus (#10338)
This commit is contained in:
@@ -72,11 +72,10 @@
|
||||
lastAction: undefined as 'previous' | 'next' | undefined
|
||||
})
|
||||
|
||||
async function handleTabSelection() {
|
||||
if (runnableComponent && !debugMode) {
|
||||
await runnableComponent?.runComponent()
|
||||
}
|
||||
|
||||
// Bookkeeping only. The runnable is the step validation function and must run exclusively in
|
||||
// runStep, where its error gates the navigation: running it here would also fire it on every
|
||||
// pointerdown in a subgrid, and a second time right after runStep moved to the next step.
|
||||
function handleTabSelection() {
|
||||
selectedIndex = tabs?.indexOf(selected)
|
||||
if (selectedIndex > maxReachedIndex) {
|
||||
maxReachedIndex = selectedIndex
|
||||
|
||||
Reference in New Issue
Block a user