Hi,
We have used input control in the form and we have assigned it with aggregate variable.
If the value is 0 then it's not showing anything in textbox.
We have added show-default-value attribute to textbox but it's not working for input inside Mask.
Best Regards,
Nitin
Hi @Nitin Chavan ,
This is because of the input type. Try to use Custom Mask with pattern (9). also convert the datatype of the variable to text. Please convert the data (Text-->Integer and Integer-->Text) where necessary. Also as @Prince Aadil Khan Panwar said, try setting a default value.)
Try to change the data type of the Input textbox to Text. It will display the default value of the variable - 0.
Hi @Jerome Rajadurai J ,
Thanks!
If we set input widget type as "Text" then it's working for value 0. But when we store non 0 value and load the screen it's showing 0.
While debugging I can see ArrearsAmt is 13233.
But in textbox I can see it's 0
Suggested solution is working :)
I have binded local Text variable to input widget and used Number mask only.
After aggregate fetch = assigning the text variable with aggregate decimal value.
Before save action call = assigning aggregate variable with text variable
Because we are passing aggregate record to save action.
Performance and maintainability wise this is not good but I think this is a possible workaround :)
Hi Nitin Chavan,
i looked at your problem. the variable you have assigned to the input widget. just set the default value there. like this
result
Prince