Skip to content

The (underlying data schema) API #2

@mohsen1

Description

@mohsen1

Based on our discussions, it would be very beneficial to make the core component dependency-free and expose the core component via different means(AngularJS directive, React component or web component)

For that, we need to agree on the API of the core component. What should core component get and what it should return?

For starters I put these input/output lists here:

Input

  • Form Schema (JSON Schema)
  • List of templates (HTML Handlebars templates)

output

  • Data object to write the result of the user input (aka ng-model). Question: should we have getter/setter for this?

events

  • change (also keypress?)
  • Form submit
  • Validation error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions