Reload option json when select input changes

Reload option json when select input changes

klinglerklingler Posts: 90Questions: 42Answers: 2

Good morning (o;

For the select input in editor I use the options array loaded via Ajax....all fine.

Now when I use two select inputs and want to make the second one dependent from the first one, is there a mechanism to reload the options JSON for the second select input?

Like for example the first select specifies a product, and after selection the second select input should only shows options available to that product.

thanks for any hints
richard

Answers

  • allanallan Posts: 63,237Questions: 1Answers: 10,418 Site admin

    Hi Richard,

    is there a mechanism to reload the options JSON for the second select input?

    Yes, have a look at this blog post which details how it can be done.

    Allan

Sign In or Register to comment.