fix: tipo state not change
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user