Input Widget, not setting to zero
Application Type
Service Studio Version
11.11.14 (Build 47936)
Platform Version
11.14.0 (Build 32648)

Hi All,

I have a requirement to set default values for inputs on screen from database, but if the default is zero and i click on checkbox to apply default to the input field, 0 is not reflected in the filed .

The input type is number.



Hi @Shivangi Thakur,

Onclick checkbox action, you have to assign the input variable value to 0. then it will set

Hello Shivangi Thakur,

I dont know the main reason why that append, maybe something regarding plataform.

I have made a simple hack:

Also the OML in attach.

Hope it helps,

Nuno R



Hi Shivangi,

Refer to this post which address the same issue

Or else I would suggest the below-mentioned options.. 

Option1: Set the variable mapped with the input type to Text data type

Option2: Inject 0 value explicitly using JS

I hope this helps you!

Kind regards,

Benjith Sam

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