Comments (3)
Hi
if the numbers are latin numbers it should be considered as latin.
but if you want arabic numbers to be considered as latin characters. you should edit the main code and add Regex that do this trick.
from automatic-direction.
Ok, you're right… the issue is not with your code. It comes from somewhere else. I was trying to use your code in this situation : In a RTL webpage, I have a RTL contact form, but in some countries they use both type of characters (RTL and/or LTR). So I thought that your code might be the solution… Depending on what type of text they write (latin or arabic), the direction of the field's content is determined. But it seems that it's not that simple, because the browser, or the contact form plugin reinterprets the code after yours and shift the numbers to the right of the line (even if it's a latin number). Do you think there's a workaround for this? Thanks again.
from automatic-direction.
hi again :D
so i think some script is interrupting the input
i recommend testing this in a raw input.
sry but i cant fix the problems on other libraries
from automatic-direction.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatic-direction.