FIX: brings back castInteger as a safer migration path for sk2 (#8966)

This commit is contained in:
Joffrey JAFFEUX
2020-02-14 10:00:40 +01:00
committed by GitHub
parent 09edde8ef7
commit 7d94de6439
4 changed files with 21 additions and 7 deletions
@@ -268,7 +268,8 @@ export default Component.extend(
limitMatches: null,
placement: "bottom-start",
filterComponent: "select-kit/select-kit-filter",
selectedNameComponent: "selected-name"
selectedNameComponent: "selected-name",
castInteger: false
},
autoFilterable: computed("content.[]", "selectKit.filter", function() {
@@ -961,7 +962,8 @@ export default Component.extend(
maximum: "options.maximum",
minimum: "options.minimum",
i18nPostfix: "options.i18nPostfix",
i18nPrefix: "options.i18nPrefix"
i18nPrefix: "options.i18nPrefix",
castInteger: "options.castInteger"
};
Object.keys(migrations).forEach(from => {