fix: the option is mandatory in an enum filter

This commit is contained in:
simon lehericey 2024-11-06 10:55:48 +01:00
parent f942675782
commit dae9a40c5c
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -16,7 +16,8 @@ class Instructeurs::ColumnFilterValueComponent < ApplicationComponent
id: 'value', id: 'value',
name: "filters[][filter]", name: "filters[][filter]",
class: 'fr-select', class: 'fr-select',
data: { no_autosubmit: true } data: { no_autosubmit: true },
required: true
else else
tag.input( tag.input(
class: 'fr-input', class: 'fr-input',