protected function addQueryFields($form, $options)
    {
        $form->add('query');
        $form->add('fields', WidgetFieldsFormType::class, [
            'label'     => 'widget.form.entity.fields.label',
            'namespace' => $options['namespace'],
            'widget'    => $options['widget'],
        ]);
    }