Closed imami closed 1 week ago
In jalali-date-time-picker.blade.php#L208
the rtl:flex-row-reverse class is used which causes the time picker's inputs displays in a reversed direction which is wrong!
rtl:flex-row-reverse
having rtl:flex-row-reverse class:
without rtl:flex-row-reverse class:
I personally prefer the direction of Hours:Minutes:Seconds to be always LTR, even if the page direction is RTL.
Hours:Minutes:Seconds
LTR
RTL
Also the rtl:flex-row-reverse seems better to be removed on the official DateTimePicker component.
DateTimePicker::make('test_date')->jalali(),
3.3.0
8.3.7
11.20.0
Hey,
I couldn't reproduce this bug. Do you mind creating a reproduction repo?
This is how it currently renders in my apps:
What happened?
In jalali-date-time-picker.blade.php#L208
the
rtl:flex-row-reverse
class is used which causes the time picker's inputs displays in a reversed direction which is wrong!having
rtl:flex-row-reverse
class:without
rtl:flex-row-reverse
class:I personally prefer the direction of
Hours:Minutes:Seconds
to be alwaysLTR
, even if the page direction isRTL
.Also the
rtl:flex-row-reverse
seems better to be removed on the official DateTimePicker component.How to reproduce the bug
Package Version
3.3.0
PHP Version
8.3.7
Laravel Version
11.20.0