View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18076Bug reportsSurvey takingpublic2022-05-19 17:18
ReporterMazi Assigned Togabrieljenik  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version5.3.x 
Summary18076: Input on demand question type not working when setting multiple rows
Description

When using the "input on demand" question type, setting the text fields to show multiple rows breaks the dynamic display of elements. This also applied to the "Auto-add new line" feature.

The reason is probably that when setting the inputs to use multiple rows, this turns the text inputs into textareas. So the JS has to be applied to these elements as well.

Steps To Reproduce

Steps to reproduce

Create a question type "Input on demand" and set the "display rows" setting to a value >0.

Expected result

Show textareas with "Add line" button or show next textarea automatically if "Auto-add new line" is set.

Actual result

All textareas are always shown.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)LimeSurvey Cloud Version 5.3.11
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionlimequery
Server OS (if known)
Webserver software & version (if known)
PHP Versionlimequery

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2022-05-04 15:53

updater   ~69383

@galads, this was first reported by a customer using Limesurvey cloud hosting. I can reproduce the problem. Can you directly assign this to a developer?

gabrieljenik

gabrieljenik

2022-05-09 16:35

manager   ~69523

PR: https://github.com/LimeSurvey/LimeSurvey/pull/2408/

gabrieljenik

gabrieljenik

2022-05-18 01:21

manager   ~69756

Tested it!
Pending to be merged

gabrieljenik

gabrieljenik

2022-05-19 12:01

manager   ~69836

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33492

LimeBot

LimeBot

2022-05-19 17:18

administrator   ~69864

Fixed in Release 5.3.15+220519

Related Changesets

LimeSurvey: master a45db7e9

2022-05-19 12:01:52

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 18076: Input on demand question type not working when setting multiple rows (#2408)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
18076
mod - themes/question/inputondemand/survey/questions/answer/multipleshorttext/rows/answer_row_textarea.twig Diff File

Issue History

Date Modified Username Field Change
2022-05-04 15:52 Mazi New Issue
2022-05-04 15:53 Mazi Note Added: 69383
2022-05-04 15:53 Mazi Bug heat 0 => 2
2022-05-05 19:31 gabrieljenik Assigned To => gabrieljenik
2022-05-05 19:31 gabrieljenik Status new => assigned
2022-05-09 16:35 gabrieljenik Status assigned => ready for testing
2022-05-09 16:35 gabrieljenik Note Added: 69523
2022-05-09 16:35 gabrieljenik Bug heat 2 => 4
2022-05-18 01:21 gabrieljenik Status ready for testing => resolved
2022-05-18 01:21 gabrieljenik Resolution open => fixed
2022-05-18 01:21 gabrieljenik Note Added: 69756
2022-05-19 12:01 gabrieljenik Changeset attached => LimeSurvey master a45db7e9
2022-05-19 12:01 gabrieljenik Note Added: 69836
2022-05-19 17:18 LimeBot Note Added: 69864
2022-05-19 17:18 LimeBot Status resolved => closed
2022-05-19 17:18 LimeBot Bug heat 4 => 6