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.

MultipleText rowsVisibleIf

See original GitHub issue

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

Feature

What is the current behavior?

I need to create a multiple text question where I hide some of the rows dynamically.

I’ve tried implementing this using a matrix dropdown with 1 column and rowsVisibleIf, this works but creates weirdly nested data because I get a dictionary per row (with 1 entry for each column)

What is the expected behavior?

There are 2 possible improvements, both could be implemented:

  1. Add rowsVisibleIf to multiple text question
  2. Add an option for a matrixdropdown question to store flat data in case there is just 1 column

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewtelnovcommented, Aug 3, 2022

@SamMousa I looked at the code. It requires to write a lot of code and tests. In fact, we need to support all question logic functionality to do it right: visibleIf, enableIf, requiredIf. Add rendering code for hiding showing items (editors and title). I am moving it into backlog for now. It is several days of work.

Thank you, Andrew

0reactions
SamMousacommented, Aug 3, 2022

I’ve created a custom question type that extends multiple text and does what I need. Feel free to remove it from the backlog since it seems I’m the only one interested 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validate multiple lines of text input for specific format
Handling validation on Multi-line text field can become complex. To validate the alphabet characters, you can use IsMatch with RegEx expression.
Read more >
Conditional visibility, Reactjs Survey Library Example
Conditions and Triggers. VisibleIf · Simplify Cascade Conditions ... Show/Hide rows in matrix dropdown question ... Text Formatting. Pre-process title/html.
Read more >
Automatic Row Height For Merged Cells with Text Wrap
When you have text wrap turned on in a cell, Excel expands the height of the row as you add more text to...
Read more >
How to combine rows in Power Query - Excel Off The Grid
This post shows how to combine rows with Power Query. There is no Power Query merge rows transformation. We will show you how...
Read more >
visibility - CSS: Cascading Style Sheets - MDN Web Docs
The property can also hide rows or columns in a . ... Descendants of the element will be visible if they have visibility...
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