formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

[QUESTION] it is possible to use R2L settings ?

Open chiragkanhasoft opened this issue 4 years ago • 3 comments

Environment

Please provide as many details as you can:

  • Hosting type
    • [ ] Form.io
    • [x] Local deployment
      • Version:
  • Formio.js version:
  • Frontend framework:
  • Browser:
  • Browser version:

Steps to Reproduce

Expected behavior

It is possible to display form in R2L view for such languages like Arabic, Hebrew etc.

Observed behavior

Example

For code or form JSON, please enclose in a code block:

// your code here

chiragkanhasoft avatar Feb 02 '21 13:02 chiragkanhasoft

Hello @chiragkanhasoft,

Apologies on the delay.

You can accomplish this by setting the Form Controller code like so: instance.options.language = 'ar-SA'

wag110894 avatar Feb 19 '21 15:02 wag110894

hey @wag110894 , Thanks for the reply. i'll try this.

chiragkanhasoft avatar Feb 22 '21 05:02 chiragkanhasoft

Hey @wag110894,

Could you please share any example for the same , i didn't found how to change it. as well as its not available in this document link as well https://help.form.io/developers/rtl-forms

chiragkanhasoft avatar May 25 '22 10:05 chiragkanhasoft

We're currently addressing a backlog of GitHub issues. Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

olgabann avatar Feb 07 '24 12:02 olgabann