question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set "disabled" property for individual items

See original GitHub issue

Are you requesting a feature, reporting a bug or ask a question?

feature

What is the current behavior?

There is no possibility to disable certain answers in “radiogroup” and “checkbox” type questions. Maybe a boolean value could be introduced in a “ItemValue” level that indicates a “disabled” property should be set for individual item.

What is the expected behavior?

How would you reproduce the current behavior (if this is a bug)?

Provide the test code and the tested page URL (if applicable)

Tested page URL:

Test code

your_code_here

Specify your

  • browser:
  • browser version:
  • surveyjs platform (angular or react or jquery or knockout or vue):
  • surveyjs version:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewtelnovcommented, Nov 19, 2018

@benkiefer FYI: We will start with this issue

Thank you, Andrew

0reactions
andrewtelnovcommented, Nov 28, 2018

@benkiefer Yes, the functionality is implemented. Here is the example. I am looking for a user case to show it in a demo.

Thank you, Andrew

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML attribute: disabled - HTML: HyperText Markup Language
The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form.
Read more >
How to disable all div content - javascript - Stack Overflow
Many of the above answers only work on form elements. A simple way to disable any DIV including its contents is to just...
Read more >
How do I disable/enable a form element?
You can enable or disable a form element using the .prop() method: 1. 2. 3. 4. 5. // Disable #x. $( "#x" ).prop(...
Read more >
HTML option disabled Attribute - W3Schools
The disabled attribute is a boolean attribute. When present, it specifies that an option should be disabled. A disabled option is unusable and...
Read more >
ListItem.Enabled Property (System.Web.UI.WebControls)
The following example demonstrates how to use the Enabled property to programmatically disable list items in a RadioButtonList control.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found