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 521521 display : none ;
522522}
523523
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+ }
527530 }
528531}
Original file line number Diff line number Diff line change 1212}) %}
1313{% set input_attr = input_attr | default ({})| merge ({
1414 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'
1616 ~ (is_small ? ' ibexa-input--small' )
17+ ~ (form .vars .errors |default (false ) ? ' is-invalid' )
1718 )|trim ,
1819 readonly : ' readonly' ,
1920 type : ' text' ,
Original file line number Diff line number Diff line change 262262 {% include ' @ibexadesign/ui/component/inputs/input_date_time_picker.html.twig' with {
263263 input_attr : additional_input_attr |merge ({ class : additional_input_attr .class |default (' ' ) ~ ' ibexa-picker__input' }),
264264 is_disabled : attr .disabled |default (false ),
265+ form ,
265266 } %}
266267 {% set attr = attr | merge ({ hidden : true , class : attr .class |default (' ' ) ~ ' ibexa-picker__form-input' }) %}
267268 {{ block (' form_widget' ) }}
You can’t perform that action at this time.
0 commit comments