Inputmask
Inputmask copied to clipboard
Arabic support for date
I created an input of type text as following:
<
input
type='text'
data-inputmask-alias='datetime'
data-inputmask-inputformat='dd/mm/yyyy'
dir='rtl'
/>
then applied the inputmask but the input shows the following as the mask: "yy/y//m/dd"
The error: it should show "yyyy/mm/dd" and accepts my input from right to left as day then month then year but now it does not do this and hence it does not support Arabic/rtl properly. Can anyone help in this?
@ShabanNasr ,
Implementing real rtl support isn't trivial, but I will have a try. But this will be for version 4.1
Hi Robin,
It will be great to have this in V4.1. I will be waiting for this build. I appreciate your support in this.
Thanks a lot, Shaban Nasr
On Wed, May 2, 2018 at 1:42 PM, Robin Herbots [email protected] wrote:
@ShabanNasr https://github.com/ShabanNasr ,
Implementing real rtl support isn't trivial, but I will have a try. But this will be for version 4.1
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RobinHerbots/Inputmask/issues/1874#issuecomment-385949599, or mute the thread https://github.com/notifications/unsubscribe-auth/AlBLC4OBZ2RF2uog3LuqjqPbaa1eyjj2ks5tuZuRgaJpZM4Trfzt .
Similar to: https://github.com/RobinHerbots/Inputmask/issues/956