Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Arabic support for date

Open ShabanNasr opened this issue 6 years ago • 3 comments

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 avatar Apr 28 '18 17:04 ShabanNasr

@ShabanNasr ,

Implementing real rtl support isn't trivial, but I will have a try. But this will be for version 4.1

RobinHerbots avatar May 02 '18 11:05 RobinHerbots

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 .

ShabanNasr avatar May 02 '18 14:05 ShabanNasr

Similar to: https://github.com/RobinHerbots/Inputmask/issues/956

melloware avatar Jul 24 '22 14:07 melloware