JsonInput
A monospace textarea that validates JSON as you type and formats it on request.
beta
Examples
Live examples for this component are on the way.
API
import JsonInput from '@tcpsystems/ui/foundation/JsonInput';| Prop | Type | Default |
|---|---|---|
value? | string | $bindable('') |
describedby? | string | none |
formatLabel? | string | 'Format' |
allowEmpty? | boolean | true |
disabled? | native | none |
readonly? | native | none |
rows? | native | 8 |
| Hook | Kind |
|---|---|
.tcp-field | Root class |
data-kind | Data attribute |
data-size | Data attribute |
data-state | Data attribute |