Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
(800)FLOWERS

Textarea widget

JSON Form Schema Settings

type

string

maxLength

Value must be > 50

...

By default, a file upload widget will be rendered like this in the form:

...

See Quasar: https://quasar.dev/vue-components/file-picker/

Form Schema Settings

type

object

properties.name

The name of the file.

properties.contentLength

The length of the file.

properties.contentType

The content type of the file.

properties.contentEncoding

The encoding of the content field. One of:

  • base64

  • outbound-url

properties.content

The content of the file. Can be base64 encoded binary data (embedded in the JSON) or a reference to some URI where the content can be downloaded from.

...

Code Block
languagejson
{
	"title": "...",
	"description": "...",
	"schema": "...",
	"output": "...",
	"layout": {
		"items": [
			{
				"field": "myFile",
				"render": "filepicker"
			}
		]
	}
}

...

See Quasar: https://quasar.dev/vue-components/file-picker/

Preview Widget

If you set "render": "pdfviewer" PDF previewer will be embedded into the form.

...