Lost Focus event does not create an interaction

Hello, everyone!

Goal: to create a dynamic interface, show elements when it’s needed

So I have a task

  1. When a separate [value] is chosen in the dropdown
  2. Show another dropdown down below with another set of values
  3. So that additional values can be chosen in that interface

For example

  1. In a dropdown among values I have “KYC needed” value
  2. This value requires another dropdown to appear down below
  3. So a user can choose additional values, e.g. “Only ID”

To do that I created such a group. It’s a dropdown 1 structure


image

  1. It contains text field as dropdown’s “header”
  2. Rectangles for dropdown arrow
  3. Rectangles for dropdown menu items and values

Basically, when you click text field btn or arrow it toggles the dropdown menu visibility. When you click any value in the dropdown menu, this value becomes text field’s btn value and the dropdown menu is hidden again.

The dropdown 2 has the same structure and it’s hidden.

I tried to add an event to show dropdown 2 in a way.

  1. I added the event to the dropdown 1, to it’s text field btn on Lost Focus event.
  2. So that when a dropdown looses focus - another dropdown is shown.
  3. And I thought I could then add another condition when focus lost and the text field value is [needed value] and then show dropdown 2.
  4. But the thing is that even just on Lost Focus - nothing happens.

Can somebody give some piece on advice why it’s not working? Or how to create such an interface? Thanks

My file
SL-FORUM-16-AUG.rp (61.3 KB)