Unable to set selected state for RadioButtonOptionField

Hi,
I am trying to set selected state for a RadioButtonOptionField using setSelected() api. But it’s not showing any result. Also simultaneously, I want to get the state of a RadioButtonOptionField .Can you please tell me any other way to get and set selected state for RadioButtonOptionField?
Document doc = new Document();
Page page = doc.getPages().add();
RadioButtonField radio1 = new RadioButtonField(page);

    radio1.setPartialName("radio");
    
    doc.getForm().add(radio1, 1);

    RadioButtonOptionField opt11 = new RadioButtonOptionField();
    RadioButtonOptionField opt12 = new RadioButtonOptionField();
    
    opt11.setOptionName("Item11");
    opt12.setOptionName("Item12");
    
    opt11.setWidth(10);
    opt11.setHeight(10);
    opt12.setWidth(10);
    opt12.setHeight(10);
    radio1.add(opt11);
    radio1.add(opt12);

  TextFragment r1 = new TextFragment("Item11");
  TextFragment r2 = new TextFragment("Item12");
  radio1.setSelected(1);
  page.getParagraphs().add(opt11);
  page.getParagraphs().add(r1);
  page.getParagraphs().add(opt12);
  page.getParagraphs().add(r2);

@Rutuja24

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-37761

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

What does this feedback status mean? Is it resolved?

@Rutuja24

“Feedback” status means that the issue is blocked by other sub-tasks that need to be resolved first in order to fix the parent issue completely. We will inform you here once the ticket is resolved.