Processor configuration form does not work with +1 providers enabled

Created on 4 September 2025, 6 days ago

Problem/Motivation

With multiple providers, the AJAX aspect of the processor configuration form fails to work. This is due to it being a subform and form state values must be accessed in a different way.

Proposed resolution

Use triggering element value to get the model and use the full form tree structure to update the element.

Example:

 $selected_provider = $form_state->getTriggeringElement()['#value'];
 $model_options = $this->getModelOptions($selected_provider);
 $form["settings"]["solr_densevector"]["ai_model_id"]['#options'] = $model_options;
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024