bitview: reorg part 3

This commit is contained in:
nym21
2025-09-24 00:35:32 +02:00
parent d45686128e
commit 2279aa8f18
18 changed files with 480 additions and 445 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { string as stringSerde } from "./serde";
import { serdeString } from "./serde";
/**
* @param {string} id
@@ -253,7 +253,7 @@ export function createHorizontalChoiceField({
/** @type {Signal<T[number]>} */
const selected = signals.createSignal(defaultValue, {
save: {
...stringSerde,
...serdeString,
keyPrefix: keyPrefix ?? "",
key,
saveDefaultValue: true,