Presto
GitHub
Getting StartedTutorial
Packages
View ModelFinal FormRESTRoutingUIUI ANTDUtil
ui-antd
Configuration
  • AntdUiConfig
  • AntdUiProvider
  • useAntdUiConfig
Form
  • FormItemWrapper
  • FormWrapper
  • getWidgetForField
Widget Hooks
  • useFileList
Widgets
  • BooleanWidget
  • CharWidget
  • CheckboxChoicesWidget
  • ChoicesWidget
  • CurrencyWidget
  • DateRangeWidget
  • DateTimeRangeWidget
  • DateTimeWidget
  • DateWidget
  • DecimalRangeWidget
  • DecimalWidget
  • DurationWidget
  • EmailWidget
  • FileWidget
  • FloatRangeWidget
  • FloatWidget
  • IPAddressWidget
  • ImageWidget
  • IntegerRangeWidget
  • IntegerWidget
  • JsonWidget
  • NullableBooleanWidget
  • NumberWidget
  • PasswordWidget
  • RadioChoicesWidget
  • SelectAsyncChoicesWidget
  • SelectChoicesWidget
  • SlugWidget
  • TextWidget
  • TimeWidget
  • URLWidget
  • UUIDWidget

JsonWidget
This is a React component

Source
import { JsonWidget } from "@prestojs/ui-antd";
JsonWidget(props)

See Input.TextArea for props available

Renders as a TextArea

ParameterTypeDescription
*props.input
InputProps

The input props for the widget. This should include, at minimum:

  • onChange
  • value

Can also include

  • name
  • onBlur
  • onFocus
  • type
  • checked
  • multiple
© 2021