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

Allowing option values to be loaded from imported data #235

Conversation

dfulgham
Copy link
Contributor

  • Adding OptionsFromKeyEntry to GeneralGroup
  • added optionFromKey:boolean, optionsKey:string field properties to allow select and radio to load their options form imported data.
  • updated importer to import initialData for keys used by selects and radios
  • Also refactored playground submit data to properly filter to only fields that are present.

Implements and closes #197

@MaxTru MaxTru self-assigned this Mar 14, 2022
@MaxTru MaxTru added the ready Ready to be worked on label Mar 14, 2022 — with bpmn-io-tasks
@MaxTru
Copy link
Contributor

MaxTru commented Mar 14, 2022

For clarification, please see my comment here

@CLAassistant
Copy link

CLAassistant commented Mar 14, 2022

CLA assistant check
All committers have signed the CLA.

* Adding OptionsFromKeyEntry to GeneralGroup
* added optionFromKey:boolean, optionsKey:string field properties to allow select and radio to load their options form imported data.
* updated importer to import initialData for keys used by selects and radios
* Also refactored playground submit data to properly filter to only fields that are present.

Refs bpmn-io#197
@dfulgham dfulgham force-pushed the Provide-values-for-multi-element-components-via-Form-data branch from adcc245 to faa0a75 Compare March 14, 2022 20:14
@MaxTru
Copy link
Contributor

MaxTru commented Mar 25, 2022

Thanks for this PR.

This looks solid and is from the first look a good implementation of #197.

We have the overall story of "supporting dynamic forms" on our roadmap for Q2 and would like to consider this PR here as part of that excercise. So please understand that we really appreciate this groundwork, but cannot merge as of now. I will leave it open and keep it in the backlog.

In the meantime:
If you need this component for your particular use case, I think it would still make a lot of sense to look into #123, so that this could be plugged-in, even if it was not part of the core form-js library.

@MaxTru MaxTru removed their assignment Mar 25, 2022
@MaxTru MaxTru added backlog Queued in backlog and removed ready Ready to be worked on labels Mar 25, 2022
@pinussilvestrus
Copy link
Contributor

Hi @dfulgham, a small update from our side: We plan to work on this topic this quarter and I will likely use this pull request as a starting point!

I will use the referenced issue to keep things up to date 👍

@dfulgham
Copy link
Contributor Author

dfulgham commented May 9, 2022

@pinussilvestrus thats great news, sorry been away for a bit moving geographically. I would like to work on this project a lot more, any chance of getting a little more integrated in this project?

One of the items I want to get working on a little more is the custom components pieces, like the file upload and star rating components I created in one of my forks.

@nikku
Copy link
Member

nikku commented May 10, 2022

@dfulgham Happy to work with you on form-js to improve it for the better.

Making the toolkit pluggable and also whitelisting components is one thing we're not working on right now, but you did a tremendous amount of work.

I#d love to help you to shape these things up and get them into our codebase (#239 (comment)).

At the same time we're working on dynamic form values right now (#197), not dependent, but also exciting. Glad you also jumped in to share your feedback from the integrators perspective there!

@nikku
Copy link
Member

nikku commented May 10, 2022

You can track what we're working on in form land via our task board, too.

@Skaiir
Copy link
Contributor

Skaiir commented Jul 15, 2022

Closed in favor of #270, thank you for the contribution we inspired ourselves from this work.

@Skaiir Skaiir closed this Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable loading of values for all 'select-type' components via Form input data
6 participants