Replies: 2 comments
-
|
(If you could explain it more technically would be great) |
Beta Was this translation helpful? Give feedback.
-
|
Hey @Pyrol!
I am unsure why calling So, if you have two filters -
I hope that explains the filtration form structure. More about operators: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I found strange behaviour while rendering
filtration_formmanually.When I render row with other label
form_row(field, {'attr' : {'label:'test-label'}})I can see the change but I still can see "Value" below, the same behaviour is when I render onlyform_widget(field). Do you know what may be the cause?The same behaviour is without BS theme.
I use it because I get table from other path, submit button works on current path and I'm unable/don't know how to set action parameter when I render it with
data_table_filters_form(form, variables).{% form_theme dt.vars.filtration_form.vars.form 'bootstrap_5_layout.html.twig' %} {{form_start(dt.vars.filtration_form.vars.form)}} <div class="row"> {% for field in dt.vars.filtration_form.vars.form %} <div class="col-3"> {{ dump(field) }} {{ form_label(field , "Custom Label") }} {{ form_row(field) }} {# I can change field name label but "Value" still appears below#} {{ form_widget(field) }} {# With widget I also get "Value" label #} </div> {% endfor %} </div> {{ form_end(dt.vars.filtration_form.vars.form) }}Beta Was this translation helpful? Give feedback.
All reactions