File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/routes/(v2)/v2/spa-action-2 Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
16
16
- ` submit ` method now falls back to submit, if no support for requestSubmit in browser.
17
17
- ` isTainted ` now handles the type of ` $tainted ` in generic components.
18
- - ` id ` option for superForm wasn't used in multiple form scenarios.
18
+ - ` id ` option for superForm (not superValidate) wasn't used in multiple form scenarios.
19
19
20
20
## [ 2.12.2] - 2024-03-29
21
21
Original file line number Diff line number Diff line change 13
13
onUpdate({ result }) {
14
14
const status = result .data as NonNullable <ActionData >;
15
15
const entry = data .entries .find ((e ) => e .id == status .posted );
16
- if (entry ) entry .name = ' Modified' ;
16
+ if (entry ) entry .name = ' Modified ' + status . posted ;
17
17
}
18
18
});
19
19
</script >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { classifySchema } from './schema.js';
4
4
5
5
export const actions = {
6
6
default : async ( { request } ) => {
7
- await new Promise ( ( res ) => setTimeout ( res , 1000 ) ) ;
7
+ await new Promise ( ( res ) => setTimeout ( res , 500 ) ) ;
8
8
9
9
const form = await superValidate ( request , valibot ( classifySchema ) ) ;
10
10
console . log ( form ) ;
You can’t perform that action at this time.
0 commit comments