Text

Text field displays the value as simple text, creating a simple span. HTML tags are destroyed with the strip function.

<template>
  <va-text-field source="name"></va-text-field>
</template>

Creates a simple span:

<span>Admin</span>

Mixins

  • Field
  • Source
  • Resource

Properties

Property Type Description
source string The property of the resource to fetch the value to display. Supports dot display for slot used object.
item null Overrides the default element added by VaShow.
truncate number Shortens text.