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

@ -6,6 +6,7 @@
export let hideLabel = false;
export let hidePasswordLabel = 'Hide password';
export let id = Math.random();
export let name = Math.random();
export let invalid = false;
export let invalidText = '';
export let labelText = '';
@ -62,6 +63,7 @@
on:focus
on:blur
{id}
{name}
{placeholder}
{type}
{value}