diff --git a/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx b/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx index c1f789855..a5c2725ea 100644 --- a/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx +++ b/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx @@ -63,7 +63,10 @@ function LayoutSectionForm() { max={50} step={0.01} value={[field.value]} - onValueChange={(value) => field.onChange(Array.isArray(value) ? value[0] : value)} + onValueChange={(value) => { + field.onChange(Array.isArray(value) ? value[0] : value); + void form.handleSubmit(onSubmit)(); + }} /> } />