Webform How to display part of an options list depending on another field value

Hello

I hope that my title is clear

The question relates to Webform 8.x-5.0-rc11

I wish to display part of the options list which could be age independent or age dependent

What I am trying to do is as follows

Fields used

Age is calculated from their date of birth previously entered

Options list is

BlockForm / Add More Field with autocomplete

I share with you an example about how you create a block form and manager data with multiple field ( autocomplete ) :

1. This class for block form "a la une"

Exclude breadcrumb paths with Easy Breadcrumb module

I'm using Easy Breadcrumb with Drupal 8 to exclude some paths while generating segments and my goal is to edit the group module breadcrumb paths.

My complete path would be group/1/content/create and the breadcrumb segments are composed as follow:

  1. group id (1 in this example)
  2. content
  3. create

I want to exclude only the second one, but if I add content to the easy breadcrumb module "Paths to be excluded while generating segments" field, the first segment also disappears.

YamlSymfony.php can't access constants in Yaml.php

I'm having a problem with core/lib/Drupal/Component/Serialization/YamlSymfony.php accessing a constant in vendor/symfony/yaml/Yaml.php (DUMP_EXCEPTION_ON_INVALID_TYPE = 16).
It's being called in webform to unserialize the configuration. 

use Symfony\Component\Yaml\Yaml as SymfonyYaml; 
is listed at the top of the page and I have no reason to believe it's not loading other than this.

It started happening in D8.5.1. I've rebuilt using composer and my code is now up to D8.5.2

Any ideas?

Fatal Error class 'drupal\toolbar\pagecache\allowtoolbarpath' not found on upgrading from 8.5.1 to 8.5.2

On updating from 8.5.1 to 8.5.2 in WAMP received Fatal Error: class 'drupal\toolbar\pagecache\allowtoolbarpath' not found in c:\wamp64\www\newlife-counseling.com\core\lib\drupal\component\dependencyinjection\container.php

I have tried downloading fresh copy of 8.5.2 and replacing updated files, but Error remains.

The file, core\lib\drupal\component\dependencyinjection\container.php, is the same as the file in 8.5.1. 

I don't know what to do next, or where to look.  I would be very appreciative of any tips that you could give me.

Thank you.

EntityAutocomplete error on custom field

I've created a custom compound field. I added it to a content type, then went and added an entry. I was about to ask how to get taxonomy terms to appear instead of the id (without using views)...BUT...

Now I'm getting errors just trying to edit the content entry. Apparently, I'm in over my head and have no idea how I'd fix this. The problem keeps cropping up, even though I rebuilt it and it seemed to be working. 

Here's the error I've got: 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x