since v0.13.0 themeable
FormElementErrorMessageA span
that can hold and show an error message in case of e.g. invalid input or other error cases.
Preview
Properties
Name
Type
Default
Value
description
String
id
String
invalid
Boolean
false
showErrorAsHint
Boolean
false
Example
<template>
<FormElementErrorMessage
id="formElementErrorMessage"
description="This is an error message"
invalid="true" />
</template>
<script setup>
import { FormElementErrorMessage } from '@discue/ui-components'
</script>