discue
Components
  • Code Contributions
  • Code of Conduct
  • Security Policy
  • Changelog
GitHub
Components
  • Code Contributions
  • Code of Conduct
  • Security Policy
  • Changelog
GitHub
  • Components
    • BackToTop
    • Banner
    • DropDownMenu
    • DropDownMenuBannerItem
    • DropDownMenuItem
    • FormElementErrorMessage
    • FormElementsContainer
    • FormImmutableText
    • FormInput
    • FormInputRadio
    • FormInputSelect
    • Headline
    • Headlines
    • NavButton
    • NavLink
    • Text
  • Contributions

FormElementErrorMessage since v0.13.0 themeable

A span that can hold and show an error message in case of e.g. invalid input or other error cases.

Preview

This is an error message

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>
Improve this page
Last Updated:
Contributors: Stefan Pfaffel
Prev
DropDownMenuItem
Next
FormElementsContainer