.github's Issues
[help wanted] [question] Can I tie into a components on change event?
formio.js - using latest version.
I tried to use labels of help wanted and question. I did something wrong though and it was given a label of bug. Sorry, if you know how I can change this, please let me know.
I want to set a default value of a dropdown list, based on the selection of another dropdown list. Not cascading, as I'm not filtering the available options in the secondary list, rather defaulting the value.
In my use case, I have the requestor of the form. I've tied this with an API call to allow querying of AD. Once the requestor value is selected, I want to default the second dropdown list for manager; to the manager of the requestor. I can do this by making another API call. I need this to only be done when the requestor value changes though, as the user could select a different manager than the one that I defaulted it to for them. I've attempted to do this with the Advanced logic, however, it seems that is fired every time the form is changed (any component in the form is chagned), not just when the component listed in the trigger logic changes. So when I go to select a manager other than the default one, it resets it back to the default manager of the requestor, not the new one I selected.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.