balance sheet prep

This commit is contained in:
2024-10-12 19:24:31 -07:00
parent 427f50fb6b
commit 06a23d4d10
4 changed files with 154 additions and 142 deletions

View File

@@ -217,7 +217,7 @@
"@mouseout" "active = -1"
"@click.prevent" "value.push({value: element.value, label: element.label});"
}
[ :input {:type "checkbox" ":checked" "value.includes(element.value)"} ]
[ :input {:type "checkbox" ":checked" "value.map(i=>i.value).includes(element.value)"} ]
[:span {"x-html" "element.label"}]]]]
[:template {:x-if "elements.length == 0"}
[:li {:class "px-4 py-2 flex gap-2 items-center outline-0 focus:bg-neutral-100 hover:bg-neutral-100 whitespace-nowrap [&.active]:bg-primary-500 text-gray-800 dark:text-gray-100 text-xs "}