Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic support for Frames #6

Open
jsphkhan opened this issue May 5, 2021 · 0 comments
Open

Arabic support for Frames #6

jsphkhan opened this issue May 5, 2021 · 0 comments

Comments

@jsphkhan
Copy link

jsphkhan commented May 5, 2021

How can I add Arabic support for Frames?

I know that I can use placeholders for the field names:

localization: {
              cardNumberPlaceholder: 'Arabic string',
              expiryMonthPlaceholder: 'MM',
              expiryYearPlaceholder: 'YY',
              cvvPlaceholder: 'CVV'
            },

But I am not able to change the direction to RTL. Since inside the iFrame the lang is still set to EN-GB (default locale) even though I use Arabic placeholders. So my input fields and their placeholders are not positioned correctly

<html lang="EN-GB">

Screen Shot 2021-05-05 at 4 33 55 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant