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.

Can I do Enableif just like VisibleIf ?

See original GitHub issue

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

What is the current behavior?

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:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewtelnovcommented, Jul 16, 2017

@lalitkhanna question.enableIf property has been added.

1reaction
andrewtelnovcommented, Jul 11, 2017

@lalitkhanna Somebody has already asked about this functionality. I have to agree it makes sense, if you do not want allowing editing and do not want to hide a question. Hiding a question may destroy the layout, for example. I have added this to our TODO list: “Add question.ifReadOnly/question.ifEnabled property. Similar to ifVisible”.

Thank you, Andrew

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I do Enableif just like VisibleIf ? · Issue #490 - GitHub
I have to agree it makes sense, if you do not want allowing editing and do not want to hide a question. Hiding...
Read more >
Condition - Enable/Disable elements, Reactjs Survey Library ...
You may use absolutely the same expression to enable/disable questions as use in visibleIf properties. The only difference, the property ...
Read more >
Adding "enable if" and "visible if" in matrixdropdown type ...
Hi surveyjs, I´m trying to show "enable if" and "visible if" in a custom "matrixdropdown" question and it doesn't work. This is my...
Read more >
Using std::enable_if or similar method on member variable
I would like to add a few member variables, namely x , y , z , and w , that will point to...
Read more >
std::enable_if - cppreference.com
If B is true, std::enable_if has a public member typedef type , equal to T ; otherwise, there is no member typedef.
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