-
Notifications
You must be signed in to change notification settings - Fork 369
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
Dynamically populate a controls list or options based on a related controls value #1055
base: master
Are you sure you want to change the base?
Dynamically populate a controls list or options based on a related controls value #1055
Conversation
…sage support, add custom error message function support
…ows for building proxying form components. Add support for the input event on input controls to support use cases such as characters left
Codecov Report
@@ Coverage Diff @@
## master #1055 +/- ##
==========================================
+ Coverage 90.49% 90.65% +0.16%
==========================================
Files 170 171 +1
Lines 2673 2719 +46
Branches 247 257 +10
==========================================
+ Hits 2419 2465 +46
+ Misses 196 193 -3
- Partials 58 61 +3
Continue to review full report at Codecov.
|
2e934b1
to
d9b641e
Compare
df9563a
to
dff4256
Compare
Hi @steverhoades |
The purpose of this PR is to allow for the dynamic population of related input values.
Goals:
Configuration
This PR introduces another configuration attribute on the DynamicFormControlModel.
The
dataProvider
attribute contains the following properties.Usage
Example Configuration
Create a data provider. The data provider must implement one of two service interfaces DynamicFormControlListDataProvider or DynamicFormControlOptionsDataProvider.
Note: The service must return an Observable.
Note
This PR is based off my previous PR #1054