fix: tipo state not change

This commit is contained in:
2025-10-24 10:02:35 -03:00
parent 1f9467acd4
commit 441cda4246

View File

@@ -194,13 +194,13 @@
<div class="form-control"> <div class="form-control">
<label class="label" for="tipo"> <label class="label" for="tipo">
<span class="label-text font-medium" <span class="label-text font-medium"
>type <span class="text-error">*</span></span >Tipo <span class="text-error">*</span></span
> >
</label> </label>
<select <select
{name} {name}
class="select select-bordered w-full" class="select select-bordered w-full"
value={tipo} bind:value={tipo}
oninput={(e) => { oninput={(e) => {
const target = e.target as HTMLSelectElement; const target = e.target as HTMLSelectElement;
const value = target.value; const value = target.value;