Remove touch check for error consistency
This commit is contained in:
parent
200806aa08
commit
30bf3dde6c
|
@ -94,9 +94,7 @@
|
|||
type={schema[configKey].type}
|
||||
on:change
|
||||
bind:value={config[configKey]}
|
||||
on:blur={($validation.touched[configKey] = true)}
|
||||
error={$validation.touched[configKey] &&
|
||||
$validation.errors[configKey]}
|
||||
error={$validation.errors[configKey]}
|
||||
/>
|
||||
</div>
|
||||
{:else}
|
||||
|
@ -106,9 +104,7 @@
|
|||
type={schema[configKey].type}
|
||||
on:change
|
||||
bind:value={config[configKey]}
|
||||
on:blur={($validation.touched[configKey] = true)}
|
||||
error={$validation.touched[configKey] &&
|
||||
$validation.errors[configKey]}
|
||||
error={$validation.errors[configKey]}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in New Issue