-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Describe the bug
When using the form
remote function, calling form.fields.field.set(...)
doesn't cause form.fields.field.value()
to reactively return a new value.
Reproduction
Press the button to call field.set(...)
and see that the value isn't updated reactively unless we create a $state
and set it ourselves.
Logs
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@sveltejs/adapter-auto: ^6.0.0 => 6.1.1
@sveltejs/kit: ^2.22.0 => 2.46.2
@sveltejs/vite-plugin-svelte: ^6.0.0 => 6.2.1
svelte: ^5.25.0 => 5.39.10
vite: ^7.0.4 => 7.1.9
Severity
annoyance
Additional Information
I need to programatically set the value when using custom selects from shadcn-svelte. The value needs to be reflected in the trigger element text which is a button.
Metadata
Metadata
Assignees
Labels
No labels