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
1515
1616- ` submit ` method now falls back to submit, if no support for requestSubmit in browser.
1717- ` 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.
1919
2020## [ 2.12.2] - 2024-03-29
2121
Original file line number Diff line number Diff line change 1313 onUpdate({ result }) {
1414 const status = result .data as NonNullable <ActionData >;
1515 const entry = data .entries .find ((e ) => e .id == status .posted );
16- if (entry ) entry .name = ' Modified' ;
16+ if (entry ) entry .name = ' Modified ' + status . posted ;
1717 }
1818 });
1919 </script >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { classifySchema } from './schema.js';
44
55export const actions = {
66 default : async ( { request } ) => {
7- await new Promise ( ( res ) => setTimeout ( res , 1000 ) ) ;
7+ await new Promise ( ( res ) => setTimeout ( res , 500 ) ) ;
88
99 const form = await superValidate ( request , valibot ( classifySchema ) ) ;
1010 console . log ( form ) ;
You can’t perform that action at this time.
0 commit comments