Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API enabled lists #903

Open
jenbutongit opened this issue Sep 2, 2022 · 0 comments
Open

API enabled lists #903

jenbutongit opened this issue Sep 2, 2022 · 0 comments

Comments

@jenbutongit
Copy link
Contributor

jenbutongit commented Sep 2, 2022

Is your feature request related to a problem? Please describe.
Allow lists to be populated via API.

Describe the solution you'd like

  1. a list should be populated via API for the designer (so conditions could be built around it)2.
  2. a list and the related components (like radio, autocomplete field etc) will be populated in the runner
  • The API serving the list must return a JSON object that matches the listSchema as described in /model/src/schema/schema.ts
{
  "name": "myApiList",
  "title": "my api list",
  "items": [
    {
      "text": "item 1",
      "value": "item-1",
      "description": "an optional description"
    }
  ]

}

If these lists are used by conditions, there is a likelihood that these conditions break if the values change.

@jenbutongit jenbutongit moved this to 🆕 New in XGovFormBuilder kanban Sep 2, 2022
@jenbutongit jenbutongit moved this from 🆕 New to 📋 Backlog in XGovFormBuilder kanban Sep 2, 2022
@jenbutongit jenbutongit moved this from 📋 Backlog to Needs triage (discussion or tech design) in XGovFormBuilder kanban Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage (discussion or tech design)
Development

No branches or pull requests

1 participant