Skip to content

Support configuring a form to read right to left via the properties panel #1205

Open
@okaeiz

Description

@okaeiz

Is your feature request related to a problem? Please describe.

Yes. I am using form-js in Camunda Desktop Modeler. When the form is in Hebrew, Persian or Arabic, the placeholders, labels and values are rendered left to right. It is frustrating for RTL users. I request the RTL support for forms or form elements separately.

Describe the solution you'd like

I think there are 2 ways to achieve this:

  1. Add a direction option to the form properties.
  2. Add a direction option to every form element such as text field, text area, datetime, etc.

Describe alternatives you've considered

After the implementation of form-js HTML View element, the HTML tags for templating and representing data (such as h1, h2, a, li, etc.) could be modified and assigned CSS attributes. I managed to change the font and direction in HTML View. But apparently the use of JavaScript for passing input values in HTML View is disabled due to security reasons. In other words, no inputs can be used in HTML View. Therefore, I still have to use text field and text area which are not customizable.

Additional context

I have also raised issues in Camunda platform official repositories. The RTL support seems to be a good idea and it definitely is; because it attracts a large number of users who speak an RTL language to the community.

Metadata

Metadata

Assignees

Labels

backlogQueued in backlogenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions