add name to form components

This commit is contained in:
Sebastián Canio Barriga 2020-07-09 20:59:42 -04:00
commit 6fdb8d10ed
32 changed files with 82 additions and 26 deletions

View file

@ -12,6 +12,7 @@
export let placeholder = '';
export let style = undefined;
export let type = 'text';
export let name = Math.random();
import { getContext, onMount } from 'svelte';
import Calendar16 from 'carbon-icons-svelte/lib/Calendar16';
@ -71,6 +72,7 @@
blurInput(relatedTarget);
}}
{id}
{name}
{placeholder}
{type}
{pattern}