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

[FormBuilder] Should we add getters/setters ? #6

@MangelMaxime

Description

@MangelMaxime

Issue by MangelMaxime
Thursday Nov 29, 2018 at 12:34 GMT
Originally opened as MangelMaxime/Thoth#93


Currently the only supported way to get back values from the Form is by calling Form.toJson.

Some people asked to get access to a field value on submit.
Possible API: Form.getValue "field-name"

The difficulty is if the fields value should return different types.

For example:

  • an input returns a string
  • an select returns a Key option
  • a color picker could return Color option
  • etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions