Skip to content

Commit fbda813

Browse files
committed
fix: Hot
Change on init
1 parent 053b417 commit fbda813

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ protected function components(): iterable
267267
])
268268
])
269269
->hideSubmit()
270-
], 'Step 1', 'Tell us about yourself')->nextLock()->whenFinishEvents([
270+
], 'Step 1', 'Tell us about yourself')->nextLock()->whenChangingEvents([
271271
AlpineJs::event(JsEvent::FORM_SUBMIT, 'step_1_form')
272272
]),
273273
Step::make([
@@ -278,9 +278,9 @@ protected function components(): iterable
278278
], 'Step 2', 'Rules')->icon('users'),
279279

280280
Step::make([], 'Step 3', 'Finishing')->async('/html', events: [
281-
AlpineJs::event(JsEvent::FRAGMENT_UPDATED, '_content1')
281+
AlpineJs::event(JsEvent::FRAGMENT_UPDATED, 'time')
282282
])->whenFinishEvents([
283-
AlpineJs::event(JsEvent::FRAGMENT_UPDATED, '_content2')
283+
AlpineJs::event(JsEvent::FRAGMENT_UPDATED, 'time')
284284
]),
285285
], [
286286
Heading::make('Thanks!'),
@@ -292,11 +292,7 @@ protected function components(): iterable
292292

293293
Fragment::make([
294294
time()
295-
])->name('_content1'),
296-
297-
Fragment::make([
298-
time()
299-
])->name('_content2'),
295+
])->name('time'),
300296
];
301297
}
302298
```

0 commit comments

Comments
 (0)