From e9ad24ca58d0a341cdb59db33366cf26515234d5 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 5 Jul 2018 15:36:04 +0200 Subject: [PATCH 1/2] MOBILE-2469 multichoice: Don't select first option by default --- src/core/question/classes/base-question-component.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/question/classes/base-question-component.ts b/src/core/question/classes/base-question-component.ts index f0ab76a35..c1a7d8b85 100644 --- a/src/core/question/classes/base-question-component.ts +++ b/src/core/question/classes/base-question-component.ts @@ -481,11 +481,6 @@ export class CoreQuestionBaseComponent { return this.questionHelper.showComponentError(this.onAbort); } - - if (!this.question.multi && typeof this.question.singleChoiceModel == 'undefined') { - // We couldn't find the option to select, select the first one. - this.question.singleChoiceModel = options[0].value; - } } return questionDiv; From ae52c530e6e1c9bdf9a0e41653d2fe54e7193981 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 5 Jul 2018 16:04:19 +0200 Subject: [PATCH 2/2] MOBILE-2469 ios: Make ios checkboxes square --- src/theme/variables.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/theme/variables.scss b/src/theme/variables.scss index 055b0ba16..e08b10369 100644 --- a/src/theme/variables.scss +++ b/src/theme/variables.scss @@ -148,6 +148,7 @@ $spinner-ios-ios-color: $core-spinner-color; $tabs-ios-tab-color-inactive: $tabs-tab-color-inactive; $button-ios-outline-background-color: $core-button-outline-background-color; $toolbar-ios-height: 44px + 15; +$checkbox-ios-icon-border-radius: 0px !default; // App Material Design Variables // --------------------------------------------------