diff --git a/packages/core/addon/services/caluma-options.js b/packages/core/addon/services/caluma-options.js index 1ace084f9..2ba08a910 100644 --- a/packages/core/addon/services/caluma-options.js +++ b/packages/core/addon/services/caluma-options.js @@ -31,8 +31,18 @@ export default class CalumaOptionsService extends Service { : null; } + /** + * Use number separator widget for all viable questions (integer, float and + * calculated float) without exceptions. + */ alwaysUseNumberSeparatorWidget = false; + /** + * Pre-select number separator widget when creating a viable question in the + * form builder. + */ + useNumberSeparatorWidgetAsDefault = false; + /** * Registers a new component override. * diff --git a/packages/form-builder/addon/components/cfb-form-editor/question.hbs b/packages/form-builder/addon/components/cfb-form-editor/question.hbs index 43c5146d4..7f369c09d 100644 --- a/packages/form-builder/addon/components/cfb-form-editor/question.hbs +++ b/packages/form-builder/addon/components/cfb-form-editor/question.hbs @@ -35,7 +35,7 @@ @name="__typename" @required={{true}} @disabled={{not (is-empty @slug)}} - @on-update={{changeset-set f.model "__typename"}} + @on-update={{this.updateType}} />