[FE][Certs] Automatically transform the custom label to uppercase
This commit is contained in:
parent
8ccc53fd27
commit
2bd0c2c695
@ -78,7 +78,7 @@ export function CustomLabelSelect(props: {
|
|||||||
placeholder="Denominación"
|
placeholder="Denominación"
|
||||||
onkeyup={iHandler}
|
onkeyup={iHandler}
|
||||||
value={inputValue()}
|
value={inputValue()}
|
||||||
onchange={(ev) => setInputValue(ev.target.value)}
|
oninput={(ev) => setInputValue(ev.target.value.toUpperCase())}
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ export function ManualRegistration(props: {
|
|||||||
<Show when={courseHasCustomLabel()}>
|
<Show when={courseHasCustomLabel()}>
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<CustomLabelSelect
|
<CustomLabelSelect
|
||||||
onChange={setCustomLabel}
|
onChange={(v) => setCustomLabel(v.toUpperCase())}
|
||||||
count={count()}
|
count={count()}
|
||||||
/>
|
/>
|
||||||
<label for="create-date" class="absolute -top-2 left-2 text-xs bg-c-surface px-1">
|
<label for="create-date" class="absolute -top-2 left-2 text-xs bg-c-surface px-1">
|
||||||
|
Loading…
Reference in New Issue
Block a user