Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Add documentation for more complex custom fields #48

@dflock

Description

@dflock

The current docs show how to create a custom field that contains a single <input> element. I would like to see documentation for creating more complex custom fields. Ideally I'd like to know how to create custom fields of the following types:

  • Have more than one input internally - eg a field that collects an international phone number and consists of a country dropdown, a numeric input for area code and another numeric input for phone number.
  • Contains no input elements at all - just arbitrary HTML and JS that presents an entirely custom widget to the user.
  • A wrapper for a custom arbitrary 3rd party Vue component

These should each map to single properties in the model and be a single logical "field" in the form.

The current docs also only show how to create a custom field within a given form. I'd also like to see am example showing how to create a reusable custom field that can be used in different forms.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions