-
Notifications
You must be signed in to change notification settings - Fork 507
Description
Problem you would like to solve
I have just updated the Modeler to v5.23.0 and I can see a HTML View component is added and it is great for customization and font changes, especially for RTL languages like Persian and Arabic. But as declared in the official docs, the section on security and sanitation strategy, it's for information presentation purposes only. Therefore, it cannot be used for input fields.
On the other hand, the input fields (such as text fields or date-time) do not support right-to-left languages. It can be frustrating when creating forms in those languages.
Proposed solution
- It'd be great if input fields supported text direction and align.
- Preferrably the mode (RTL) can be configured globally for a form (Right-to-Left support for form elements (text field, text area, select, etc.) #4306 (comment))
Alternatives considered
First, I thought I could achieve this by creating input fields in HTML View element but since it is disabled due to XSS and clickjacking attacks, it doesn't seem like a good idea. Moreover, the passing of values in the workflow may be tricky in this way.
Additional context
No response
Depends on bpmn-io/form-js#1185