Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Radio Button Set is not Populating Data when bound to a Variable

I am facing an issue while working with Radio Button set in VBS, Please find below steps I did.

  1. I added a type in page level.


2. I created a array variable of the above type.

3. I put the default value of this variable as below.

[
{
"id": 0,
"dayOfWeek": "Sunday"
},
{
"id": 1,
"dayOfWeek": "Monday"
},
{
"id": 2,
"dayOfWeek": "Tuesday"
},
{
"id": 3,
"dayOfWeek": "Wednesday"
},
{
"id": 4,
"dayOfWeek": "Thursday"
},
{
"id": 5,
"dayOfWeek": "Friday"
},
{
"id": 6,
"dayOfWeek": "Saturday"
}
]

4. In the page, I added a Radio Button Set and put the below properties.

Full markup of radio set:

<oj-radioset label-hint="Radio Button Set" class="oj-flex-item oj-sm-12 oj-md-6" options="[[ $variables.dayVar ]]" options-keys.label="dayOfWeek" options-keys.value="id"> </oj-radioset>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!