File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 521
521
display : none ;
522
522
}
523
523
524
- .ibexa-input--text.is-invalid + .ibexa-input-text-wrapper__actions {
525
- .ibexa-icon {
526
- fill : $ibexa-color-danger ;
524
+ .ibexa-input--text ,
525
+ .ibexa-input--date {
526
+ & .is-invalid + .ibexa-input-text-wrapper__actions {
527
+ .ibexa-icon {
528
+ fill : $ibexa-color-danger ;
529
+ }
527
530
}
528
531
}
Original file line number Diff line number Diff line change 12
12
}) %}
13
13
{% set input_attr = input_attr | default ({})| merge ({
14
14
class : (input_attr .class |default (' ' )
15
- ~ ' ibexa-input ibexa-input--date ibexa-date-time-picker__input flatpickr flatpickr-input'
15
+ ~ ' form-control ibexa-input ibexa-input--date ibexa-date-time-picker__input flatpickr flatpickr-input'
16
16
~ (is_small ? ' ibexa-input--small' )
17
+ ~ (form .vars .errors |default (false ) ? ' is-invalid' )
17
18
)|trim ,
18
19
readonly : ' readonly' ,
19
20
type : ' text' ,
Original file line number Diff line number Diff line change 262
262
{% include ' @ibexadesign/ui/component/inputs/input_date_time_picker.html.twig' with {
263
263
input_attr : additional_input_attr |merge ({ class : additional_input_attr .class |default (' ' ) ~ ' ibexa-picker__input' }),
264
264
is_disabled : attr .disabled |default (false ),
265
+ form ,
265
266
} %}
266
267
{% set attr = attr | merge ({ hidden : true , class : attr .class |default (' ' ) ~ ' ibexa-picker__form-input' }) %}
267
268
{{ block (' form_widget' ) }}
You can’t perform that action at this time.
0 commit comments