I fixed my problem with this:
I created a form alter and added
if ($form_id == 'views_exposed_form' && $form['#id'] == 'views-exposed-form-faros-companies-search-search-companies-block') {
if (isset($form['city']['#process']))
$form['city']['#process'] = array_merge($form['city']["#process"], ['facets_exposed_filters_remove_validation']);
}
If I use select2 in BEF then I have the same problem.
But, if I keep the default value widget or checkbox, worked
Then, I made a test, I changed select to select2 in FacetFilter line 174
$form['value'] = [
'#type' => 'select2',
'#options' => $this->buildOptions($facet->getResults(), $facet),
'#multiple' => $this->options["expose"]["multiple"],
'#process' => array_merge($select_element["#process"], ['facets_exposed_filters_remove_validation']),
];
This worked too
I tried form alter and add this:
$form['city']['#type'] = 'select2';
But show the same problem, only worked in valueForm on FacetFilter
I am searching for Drupal away solution yet
I have this problem here cfr.org.
To reproduce:
Set the quality to 85% in the webp module
Create an image style with Convert WEBP
Access the image several times and keep downloading, don't forget to use an anti cache in the url ?cache=93893984
I updated the patch to RC2
I agree that it needs to be adjusted in the search api as well.
It's in both, as the core calls a render hook that triggers the hook in the search api, preventing the render from being called unnecessarily is important.
This render in the webform is called even if it's not on a webform page or in the webform admin. All it takes is for some module to invoke the tokens that arrive in this function.
However, in the search api, I agree that there needs to be a rule to prevent unnecessary processing. I'm still investigating how to patch it.
Proposed solution
edmargomes → created an issue.
Fix once to use core/once library.
Example for work today:
let id = $('#edit-container-body-value').attr('data-ckeditor5-id');
Drupal.CKEditor5Instances.get(id).setData(email_content);
you can create a utils like this:
const ckeditorInstanceByElement = (elementId) => {
let id = $(elementId).attr('data-ckeditor5-id');
return Drupal.CKEditor5Instances.get(id);
};
I had a problem applying the .info patch for version 2.0.0
I'm sending the small adjustment here.
Fixed
edmargomes → created an issue.
ignore the problem is a custom patch applied after update the module.
edmargomes → created an issue.
Update the patch. I will continue the work
Started the process, I fixed problem with jquery once too.
Sending the first version to get more opinions
edmargomes → created an issue.
Fixed
edmargomes → created an issue.
The patch #5 works, but need change to get with one option, or config->storage->get or config->get
works for me
The same problem here with Drupal 9.5.3 and PHP 8.1
edmargomes → created an issue.
Works for me