Dependency not working

Created on 21 July 2024, 5 months ago
Updated 2 August 2024, 5 months ago

Hi,
I'd like to create a form that has some dependencies fields.
Let's say I have 2 fields. The first field represents countries, and the second field represents the cities. I create 2 endpoints from Views REST Export for my 2 fields.

Then, in Webform, I create 2 "Remote Select" fields using my endpoints. The country field works well, but the cities field shows everything instead of the cities that corresponds the first field.

How to make it work ?
Thank you.

💬 Support request
Status

Postponed: needs info

Version

2.0

Component

Documentation

Created by

🇹🇭Thailand thachakrit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @thachakrit
  • 🇧🇷Brazil joaopauloc.dev

    Hi @thachakrit.

    Sorry for the late response.

    How did you configured the cities fields? can you add a screenshot?
    I just saw right now that we didn't add some import information in the help text to configure the params, sorry about that.
    You need to specify that you are using the param from the webform adding something like the image below.

    Also, I'm facing some issues with cache, so try disabling the cache at /admin/config/system/webform_remote_fields for a moment just to check.

    Thanks.

  • Status changed to Postponed: needs info 5 months ago
Production build 0.71.5 2024