mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-14 23:07:01 +10:00
[WIP] Fix issue 2830 related to sidebar width slider (#2832)
* Initial plan * fix: sidebar width slider not updating resume layout Co-authored-by: amruthpillai <1134738+amruthpillai@users.noreply.github.com> Agent-Logs-Url: https://github.com/amruthpillai/reactive-resume/sessions/55cb1943-2066-4871-8a12-0a0a4cb35fa6 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: amruthpillai <1134738+amruthpillai@users.noreply.github.com>
This commit is contained in:
@@ -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)();
|
||||
}}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user