Conflict with Ajax

Created on 2 December 2014, almost 10 years ago
Updated 9 September 2024, 2 months ago

Here is my issue.

I am using conditional_fields to control the visibility of some fields by the value of a select field. It works fine. However, then I implemented an Ajax event (dynamically controlling the subset of options of a select field) and something wrong happened.
When I fire the Ajax event and change the value of dependee of conditional fields, the controlling of conditional field is gone. However, when I change the value again, the controlling comes back. Or I would say conditional fields controlling will be lost just after another Ajax event is fired.
I have tried to figure out what is wrong, but I couldn’t.
Has anybody out there encountered the same issue? Or could someone give me a clue how to deal with this issue?

Thanks

🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

🇨🇦Canada peijun

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Thanks for the reports and all the efforts and hard work in here. But due to inactivity in this issue for years and because of the upcoming EOL of Drupal 7, I will close this issue on th way cleaning up the issue queue.

    Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others.

  • 🇺🇸United States Dave Kopecek

    dave kopecek made their first commit to this issue’s fork.

Production build 0.71.5 2024