27
Views
4
Comments
Solved
[Character Count Reactive] Initial data not taken into account
character-count-reactive
Reactive icon
Forge asset by Nuno Ricardo Rodrigues
Application Type
Reactive

Hello I implemented this component into my reactive application.

Added an input to the placeholder and assigned the value of the input to an attribute of an aggregate.
The input is filled with data, but the component still says all characters are available. Only when you add a new character to the input, the used characters is updated.

After loading screen:

After adding a character:

Maybe I'm doing something wrong. Any help would be appreciated.

UserImage.jpg
Felipe Fernández
Solution

Hello Frank!
I haven't used that componente but maybe you don't needed, you can use the length function in an expression to get the number of characters and concatenated with the max character like this:


Hope this can help you, 
greetings!

UserImage.jpg
Nani

Hi, Frank

Use Length function with attribute value in the expression it work.

If it those not work share your oml so i might understand what's the problem.

2021-09-30 18-38-59
Nuno Ricardo Rodrigues

Hello Frank,

Try this link: https://personal-gxzlvs5j.outsystemscloud.com/CharacterCountReactive_Sample/

It does what is necessary that you want?

If you see the Sample it show´s how the component, must be used.

The solutions presented by Filipe Fernandes and nani, also solve the problem.

I build this component just to help developers speed up their work.

Best regards,

Nuno R

2020-09-03 07-38-30
Frank Burm

Hello, thank you all for your replies and the example you provided Nuno. I choose to go with the Length option.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.