Update placeholder for richselect or multiselect dynamically

I have 2 components of richselect, both with placeholders respectively.

How do I update the placeholder for second richselect when a selection in first richselect is selected? In other words, the placeholder in second richselect is always dependent on the selection for first richselect.

I did something simple like this, https://snippet.webix.com/prn8wxk0

Thanks in advance!

Hello @clow,
You just need to define the new value and then call the refresh method:

$$("richselect").define("placeholder",value);
$$("richselect").refresh();

Please take a look at the snippet:
https://snippet.webix.com/isuj8ami

Thanks, @annazankevich! Appreciate your help!