Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Popup selector dynamic #759

Open
camels84 opened this issue Oct 14, 2024 · 0 comments
Open

[Help] Popup selector dynamic #759

camels84 opened this issue Oct 14, 2024 · 0 comments

Comments

@camels84
Copy link

i'm trying to follow this issue
#624

but in my case, it won't work!

i have this function:


type: button
name: Select Media Players
tap_action:
  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      title: Select Media Players
      right_button: Confirm
      right_button_action:
        service: script.process_selection
        data:
          selected_players: "{{ params }}"
      content:
        - name: params
          label: Select Media Players
          selector:
            select:
              multiple: true
              options: "[[[ return input_select.available_media_players.attributes.options ]]]"

and the result is not populating the list, if i put the string result (from Jinja2) it works!
I think also that should be refenced in tuturial page!

tanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant