This commit is contained in:
2025-09-10 13:33:15 +10:00
parent 2c058a654f
commit c41d5487a9
6 changed files with 118 additions and 37 deletions

View File

@@ -55,11 +55,22 @@
style="width: {width}; height: {height}"
class="relative rounded-none p-1 !transition-none delay-0 duration-0
focus:z-20 focus:shadow-[0_0_0_1px_var(--color-primary)] focus:outline-none"
bind:value={
() => {
return cell?.raw_val ?? '';
},
(v) => {
cell = {
val: cell?.val,
raw_val: v
};
}
}
onblur={(e) => {
cell = {
val: cell?.val,
raw_val: (e.target as HTMLInputElement).value
};
// cell = {
// val: cell?.val,
// raw_val: (e.target as HTMLInputElement).value
// };
stopediting();
}}
/>