How to get an input widget to change its size dynamically in the application

For instance, there is a screen where I have placed an 'input widget' with text line property as 1 but the 'max length' property is 8000 and I want the functionality of the input widget to be something like, if I am entering 4000 characters then instead of getting a scroll bar in the input field, i get the wole display of characters in multiple lines.

like in the snapshot, I want the widget to display the whole set of characters instead of a scroll bar and if it is empty then the size should be 1(text line property). Is it possible, if yes then how?



Poorva Singh wrote:

For instance, there is a screen where I have placed an 'input widget' with text line property as 1 but the 'max length' property is 8000 and I want the functionality of the input widget to be something like, if I am entering 4000 characters then instead of getting a scroll bar in the input field, i get the wole display of characters in multiple lines.

like in the snapshot, I want the widget to display the whole set of characters instead of a scroll bar and if it is empty then the size should be 1(text line property). Is it possible, if yes then how?



Did you try this forge component: https://www.outsystems.com/forge/component-overview/2133/text-area-auto-resizer

sample here

Use this component to automatically resize a textarea while the user types

Best regards

Carlos Lessa


Poorva Singh wrote:

For instance, there is a screen where I have placed an 'input widget' with text line property as 1 but the 'max length' property is 8000 and I want the functionality of the input widget to be something like, if I am entering 4000 characters then instead of getting a scroll bar in the input field, i get the wole display of characters in multiple lines.

like in the snapshot, I want the widget to display the whole set of characters instead of a scroll bar and if it is empty then the size should be 1(text line property). Is it possible, if yes then how?



 Hi Poorva,


Please check this component .

https://www.outsystems.com/forge/component-overview/8817/autogrowtextarea-oml 

Hope this helps


Thanks

AD 

 

Hi Team, 

I want to store user information on database and show those data based on created by user

shailendra Singh wrote:

Hi Team, 

I want to store user information on database and show those data based on created by user

 Hi Shailendra,

Please go through the below link already documentation provided in Outsystems

https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Query_Data/Fetch_and_Display_Data_from_the_Database

Hope this help


Thanks

AD