prefect-ui-library icon indicating copy to clipboard operation
prefect-ui-library copied to clipboard

Testing: Schemas - Simple

Open znicholasbrown opened this issue 1 year ago • 0 comments

The following property types/formats (and options) should be matched to the appropriate components / attrs:

  • string - PTextInput
    • minLength - min
    • maxLength - max
    • password - type=password
  • date - PDateInput
  • date-time - PDateInput (with show-time attr)
  • time-delta - PNumberInput
  • number - PNumberInput
    • minimum - min
    • maximum - max
    • multipleOf - step
  • integer - PNumberInput with whole-number step
    • minimum - min
    • maximum - max
    • multipleOf - step
  • json-string - PCodeInput (with lang=json attr)
  • boolean - PToggle
  • null - just a warning message, no component needed

znicholasbrown avatar May 16 '23 20:05 znicholasbrown