WebformSubmissionComputedFilter.php in Webform Views Integration 8.5
File
src/Plugin/views/filter/WebformSubmissionComputedFilter.php
View source
<?php
namespace Drupal\webform_views\Plugin\views\filter;
use Drupal\Core\Form\FormStateInterface;
class WebformSubmissionComputedFilter extends WebformSubmissionFieldFilter {
public function valueForm(&$form, FormStateInterface $form_state) {
parent::valueForm($form, $form_state);
unset($form['value']['#value']);
}
public function operators() {
$operators = parent::operators();
foreach ($operators as $k => $v) {
if ($operators[$k]['webform_views_element_type'] == WebformSubmissionFieldFilter::ELEMENT_TYPE) {
$operators[$k]['webform_views_element_type'] = 'textfield';
}
}
return $operators;
}
}