GithubHelp home page GithubHelp logo

.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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.