Question T669
Visible to All Users

Readonly on radiogroup 'value' property

created 7 years ago (modified 7 years ago)

Hi,

I have a requirement where I need to set a property of radiogroup as readonly.
The scenario is when a user is adding options to a radiogroup/checkbox choices, the value should not be editable.i.e. the values will be item 1, item 2 etc for all options and only the text should be editable.

I checked the demo mentioned here
https://github.com/surveyjs/editor/issues/52#event-995246793

I am able to make properties of a questionbase as Readonly but that applies to all question types. How do I make properties of a specific question type as readonly?

Comments (1)

    I think I got this. I used itemvalue instead of questionbase to access the value property. You can close this ticket.

    Thanks :)