File tree Expand file tree Collapse file tree
packages/ui/src/features/loops/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -370,9 +370,8 @@ function Stepper({
370370 { STEPS . map ( ( label , index ) => {
371371 const isCurrent = index === current ;
372372 const isDone = index < current && complete [ index ] ;
373- // Free navigation back to any earlier step; forward only into the step
374- // immediately after a completed one, so you can't skip required fields.
375- const reachable = index <= current || complete [ index - 1 ] ;
373+ // Steps navigate freely in both directions; skipping ahead is safe
374+ // because Next stays gated per step and Create on the whole form.
376375 return (
377376 < Flex
378377 key = { label }
@@ -381,9 +380,8 @@ function Stepper({
381380 >
382381 < button
383382 type = "button"
384- disabled = { ! reachable }
385383 onClick = { ( ) => onSelect ( index ) }
386- className = "flex min-w-0 items-center gap-2 disabled:cursor-not-allowed "
384+ className = "flex min-w-0 cursor-pointer items-center gap-2"
387385 >
388386 < Flex
389387 align = "center"
You can’t perform that action at this time.
0 commit comments