Text Area
Hi
Is there a way to vertically resize an Text Area form element? My Workflow produces text dynamically, and I want to avoid scrolling. The Rows property seems to have effect in the Sandbox only.
In advance, thankyou for your kind help
Rune Bratlie
-
Hello Rune,
Thanks for your feedback. We are aware of this issue and I've added you as a stakeholder. The Text Area Rows setting currently works in the web appbuilder but not in the most recent Geocortex Viewer for HTML5, which I've raised with the dev team.
Thanks, Stefan
0 -
Hi Rune,
In the meantime, you could use a css workaround:
1.Navigate to the viewer's custom css common file. The default location is:
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\SITENAME\Viewers\VIEWERNAME\VirtualDirectory\Resources\Styles\Custom\common.css
2. Backup the file and edit the original in a text editor like Notepad
3. Paste the following CSS:
.gcx-forms-textArea1 textarea { height: auto; }where textArea1 is the ID of your Text Area
4. Save the file and test the viewer.
There's probably more to the issue than just that one style, since this gets you [Rows property + 1] rows as the end result, but at least it will give you some control over the size in the HTML5 viewer
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare