Great news, thanks for the update and the example.
-Winona

On Fri, Feb 2, 2024 at 10:56 AM Steven Pemberton <[email protected]>
wrote:

> Winona,
>
> We have discussed this in the WG, and resolved to add @dir to the Common
> set of attributes.
>
> In the meantime, as Alain has already pointed out, you can legally use
> html:dir anywhere in XForms, as foreign namespaced attributes are allowable
> everywhere, and furthermore, you can use CSS properties for the same
> effect. For instance:
>
>      *[class="ltr"] { unicode-bidi: embed; direction: ltr}
>      *[class="rtl"] { unicode-bidi: embed; direction: rtl}
>      *[class="lro"] { unicode-bidi: bidi-override; direction: ltr}
>      *[class="rlo"] { unicode-bidi: bidi-override; direction: rtl}
>
> I show a quick example at https://cwi.nl/~steven/forms/tests/bidi.xhtml
>
> Best wishes,
>
> Steven
>
> On Thursday 07 December 2023 17:11:16 (+01:00), Winona Salesky wrote:
>
> Hi All,
> I need to support both rtl and ltr text input in my forms. Reading up on
> this online, it sounds like the best way to do this is to include the
> following attribute on the input/textarea elements: dir="auto"
>
> What do you think the best way to get this working in XSLTForms is? Edit
> the XSLTForms javascript? Write my own Javascript to amend the output?
> Something else?
>
> Thanks for any thoughts or suggestions.
> -Winona
>
>
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to