Remove touch check for error consistency
This commit is contained in:
parent
2eccc935d9
commit
777e8f91f1
|
@ -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