View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11734 | Feature requests | Ergonomy | public | 2016-09-30 18:48 | 2018-04-06 11:48 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | none | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Fixed in Version | 3.0 | ||||
Summary | 11734: Reimplement input size | ||||
Description | When move from 2.06 to 2.50 : input-width are replaced by input-col-width, and it's not the same think and the same behaviour | ||||
Steps To Reproduce | Find a way to have a very little input, but without a big label. | ||||
Additional Information | Actually : bostrap default is to set 100% by default to the input-control, but have a way to show different size for input it's a must have for big survey i think. An idea : leave text_input_width to set the input container width (input-group) Set the size of the input (attribute:size) and add a class for this : something like form-control-inline : adding some core css to show it inline. if input-width is not set width is not set : take 100% of text_input_width like actually. For size attribute : http://www.w3schools.com/TAGS/att_input_size.asp | ||||
Tags | answers_html | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Story point estimate | |||||
Users affected % | |||||
PS : the 2.06 text_input_width is totally incompatible with new one. But we use same attribute .... PS2 : An exemple : zipcode must be mless wide than country, phone mus be less wide too than name etc .... |
|
With input size (in short free text question) it's easy to use form-inline (if it's set only for example) Send a screenshot |
|
If I get this right, the plan is to re-add the input width question attribute (good idea!) and if it is set, that setting is applied. |
|
input size=XXX We get a default if not set (in fact we always need a default if user disable css (if i remind) If set : we put it ... + add a extra class in the item or list. It's the idea. Question : form-inline or not ? With form-inline (from BS) : the size of the input is not forced to 100%. |
|
About your question: I think for text types 100% is fine but for numeric types a shorter field length would look better. |
|
100% come from boostrap ..... Set size : you get your auto seems the best :) Just an issue .... form-inline have label inlined too .... then must add a cpore class. For your issue did you try input.numeric {width:auto} in template.css ? |
|
Nope, I didn't try such CSS. It is just my 2 cents that since you usually input some very few characters/number at numeric questions, 100% field width always looks far too large. |
|
Use the input width as a min-width, please expand to 100% at xs screens |
|
@tammo : didn't understand ? You mean width:auto with a size=X ? |
|
xs in Bootstrap language: extra small screens. |
|
It's already the case, in general : col-xs-12 col-sm-X / col-xs-12 col-sm-Y Then no issue . And here : it's about : input size="5" : actually set a size of 1 or 50 don't change anything . |
|
In my view col-xs-12 is rarely needed. Most of the times something like col-sm-6 is enough, without col-xs-12, because that will also add paddings that are mostly not needed on very small screens. |
|
Recapturing the feature request: Reject feature results in no change of current situation. |
|
Hi jelo , thanks for the summary, i update the Additional Information after:
|
|
Fix committed to answers_html branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21220 |
|
LimeSurvey: answers_html 6889d849 2016-10-31 18:57 Details Diff |
Dev: issue 11734: Reimplement input size Dev: short text only actually |
Affected Issues 11734 |
|
mod - application/core/packages/limesurvey/survey.css | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/helpers/questionHelper.php | Diff File | ||
mod - application/views/admin/survey/Question/advanced_settings_view.php | Diff File | ||
mod - application/views/survey/questions/shortfreetext/text/item.php | Diff File | ||
mod - application/views/survey/questions/shortfreetext/textarea/item.php | Diff File | ||
LimeSurvey: answers_html 5a841145 2016-10-31 21:03 Details Diff |
New feature 11734: Reimplement input size Dev: if i lost somewhere : report issue Dev: have some issue with screen width : core fix or template fix ? |
Affected Issues 11734 |
|
mod - application/core/packages/limesurvey/survey.css | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/helpers/questionHelper.php | Diff File | ||
mod - application/views/survey/questions/arrays/multiflexi/answer.php | Diff File | ||
mod - application/views/survey/questions/arrays/multiflexi/rows/cells/answer_td.php | Diff File | ||
mod - application/views/survey/questions/arrays/texts/answer.php | Diff File | ||
mod - application/views/survey/questions/arrays/texts/rows/cells/answer_td.php | Diff File | ||
mod - application/views/survey/questions/arrays/texts/rows/cells/td_grand_total.php | Diff File | ||
mod - application/views/survey/questions/arrays/texts/rows/cells/td_total.php | Diff File | ||
mod - application/views/survey/questions/longfreetext/answer.php | Diff File | ||
mod - application/views/survey/questions/multiplenumeric/rows/input/answer_row.php | Diff File | ||
mod - application/views/survey/questions/multiplenumeric/rows/sliders/answer_row.php | Diff File | ||
mod - application/views/survey/questions/multipleshorttext/rows/answer_row_inputtext.php | Diff File | ||
mod - application/views/survey/questions/multipleshorttext/rows/answer_row_textarea.php | Diff File | ||
mod - application/views/survey/questions/numerical/answer.php | Diff File | ||
mod - application/views/survey/questions/shortfreetext/text/item.php | Diff File | ||
mod - styles-public/numeric-slider.css | Diff File | ||
mod - templates/lumen/css/template-core.css | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-30 18:48 | DenisChenu | New Issue | |
2016-09-30 18:48 | DenisChenu | File Added: Capture du 2016-09-30 18-40-55.png | |
2016-09-30 18:49 | DenisChenu | Note Added: 41049 | |
2016-09-30 18:49 | DenisChenu | Note Edited: 41049 | |
2016-09-30 18:54 | DenisChenu | Tag Attached: answers_html | |
2016-09-30 18:54 | DenisChenu | Project | Development => Feature requests |
2016-09-30 18:54 | DenisChenu | Category | Survey Design => Other issues |
2016-09-30 18:55 | DenisChenu | Severity | @50@ => feature |
2016-09-30 18:55 | DenisChenu | Category | Other issues => Accessibility |
2016-09-30 18:55 | DenisChenu | Product Version | 2.5x => |
2016-09-30 19:05 | DenisChenu | Summary | Reimplement input width => Reimplement input size |
2016-09-30 19:06 | DenisChenu | Additional Information Updated | |
2016-10-03 17:15 | DenisChenu | Note Added: 41059 | |
2016-10-03 17:15 | DenisChenu | File Added: Capture du 2016-10-03 17-14-40.png | |
2016-10-04 09:36 | Mazi | Note Added: 41065 | |
2016-10-04 10:21 | DenisChenu | Note Added: 41071 | |
2016-10-04 10:23 | Mazi | Note Added: 41072 | |
2016-10-04 10:35 | DenisChenu | Note Added: 41076 | |
2016-10-04 10:42 | Mazi | Note Added: 41079 | |
2016-10-04 13:44 | tammo | Note Added: 41097 | |
2016-10-04 14:21 | DenisChenu | Note Added: 41103 | |
2016-10-04 14:30 | tammo | Note Added: 41104 | |
2016-10-04 14:42 | DenisChenu | Note Added: 41105 | |
2016-10-04 15:07 | tammo | Note Added: 41107 | |
2016-10-12 01:19 | jelo | Note Added: 41242 | |
2016-10-12 08:08 | DenisChenu | Note Added: 41243 | |
2016-10-17 16:26 | DenisChenu | Category | Accessibility => Ergonomy |
2016-10-31 16:50 | DenisChenu | Assigned To | => DenisChenu |
2016-10-31 16:50 | DenisChenu | Status | new => assigned |
2016-10-31 17:58 | DenisChenu | Changeset attached | => LimeSurvey answers_html 6889d849 |
2016-10-31 20:04 | DenisChenu | Changeset attached | => LimeSurvey answers_html 5a841145 |
2016-10-31 20:04 | DenisChenu | Note Added: 41624 | |
2016-10-31 20:04 | DenisChenu | Resolution | open => fixed |
2016-10-31 20:05 | DenisChenu | Status | assigned => resolved |
2016-10-31 20:05 | DenisChenu | Fixed in Version | => 3.0 |
2018-04-06 11:48 |
|
Status | resolved => closed |