Skip to content

The (underlying data schema) API #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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