Private
Public Access
algunos refactors y arregle el tema de que no se eliminaban los
subgrupos
This commit is contained in:
1 parent
ab88be0ba5
commit
df2412f29a
25 files changed
+415
-261
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<script>
|
||||
import { Modal } from 'carbon-components-svelte';
|
||||
|
||||
let { show } = $props();
|
||||
|
||||
let error = $state('');
|
||||
</script>
|
||||
|
||||
<form
|
||||
id="crearRepuestoForm"
|
||||
onsubmit={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
>
|
||||
<Modal
|
||||
formId="crearRepuestoForm"
|
||||
bind:open={show}
|
||||
modalHeading="Registrar Repuesto"
|
||||
primaryButtonText="Registrar"
|
||||
secondaryButtonText="Cerrar"
|
||||
on:click:button--secondary={handleClose}
|
||||
>
|
||||
{#if error}
|
||||
<div class="error-msg">{error}</div>
|
||||
{/if}
|
||||
<TextInput name="nombre" type="text" labelText="Nombre: " bind:value={usuario.name} />
|
||||
<TextInput name="email" type="text" labelText="Email" bind:value={usuario.email} />
|
||||
</Modal>
|
||||
</form>
|
||||
Reference in new issue
Block a user