From 9ebf36ea9f09e45e4d9ba171215581ea1ff7a625 Mon Sep 17 00:00:00 2001 From: dgurjar Date: Fri, 31 May 2024 11:56:28 +0530 Subject: [PATCH] [RTL] Add auto direction prop on text-area component --- .../textinput/text-area-dir/.content.xml | 23 ++++++++++ .../samples/textinput/basic/.content.xml | 2 +- .../textinput/text-area-dir/.content.xml | 42 +++++++++++++++++++ .../textinput/v1/textinput/textinput.html | 3 +- 4 files changed, 68 insertions(+), 2 deletions(-) create mode 100755 it/content/src/main/content/jcr_root/content/dam/formsanddocuments/core-components-it/samples/textinput/text-area-dir/.content.xml create mode 100755 it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/text-area-dir/.content.xml diff --git a/it/content/src/main/content/jcr_root/content/dam/formsanddocuments/core-components-it/samples/textinput/text-area-dir/.content.xml b/it/content/src/main/content/jcr_root/content/dam/formsanddocuments/core-components-it/samples/textinput/text-area-dir/.content.xml new file mode 100755 index 0000000000..b67a96a38d --- /dev/null +++ b/it/content/src/main/content/jcr_root/content/dam/formsanddocuments/core-components-it/samples/textinput/text-area-dir/.content.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/basic/.content.xml b/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/basic/.content.xml index 547de8cef3..9ecc7536b4 100644 --- a/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/basic/.content.xml +++ b/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/basic/.content.xml @@ -215,4 +215,4 @@ - + \ No newline at end of file diff --git a/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/text-area-dir/.content.xml b/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/text-area-dir/.content.xml new file mode 100755 index 0000000000..e62fbbd5b2 --- /dev/null +++ b/it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/textinput/text-area-dir/.content.xml @@ -0,0 +1,42 @@ + + + + + + + + diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/textinput/v1/textinput/textinput.html b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/textinput/v1/textinput/textinput.html index 23e41392be..ebf4835dad 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/textinput/v1/textinput/textinput.html +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/textinput/v1/textinput/textinput.html @@ -48,7 +48,8 @@ placeholder="${text.placeHolder}" autocomplete="${text.autoComplete}" minlength="${text.minLength}" - maxlength="${text.maxLength}"> + maxlength="${text.maxLength}" + dir="auto">