From b03609c11485ff99a4f89a52deaa2e80646bf522 Mon Sep 17 00:00:00 2001 From: Chika Date: Mon, 11 Jul 2022 18:26:26 +0300 Subject: [PATCH] elements/Select: fix search --- Components/Calculation/config/elements-props.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Components/Calculation/config/elements-props.ts b/Components/Calculation/config/elements-props.ts index 3a74701..f688fd6 100644 --- a/Components/Calculation/config/elements-props.ts +++ b/Components/Calculation/config/elements-props.ts @@ -152,15 +152,19 @@ const props: Partial = { }, selectLeaseObjectType: { showSearch: true, + optionFilterProp: 'label', }, selectBrand: { showSearch: true, + optionFilterProp: 'label', }, selectModel: { showSearch: true, + optionFilterProp: 'label', }, selectConfiguration: { showSearch: true, + optionFilterProp: 'label', }, tbxLeaseObjectCount: { min: 1, @@ -169,6 +173,7 @@ const props: Partial = { }, selectLeaseObjectUseFor: { showSearch: true, + optionFilterProp: 'label', }, tbxLeaseObjectYear: { min: 1994, @@ -179,6 +184,7 @@ const props: Partial = { }, selectEngineType: { showSearch: true, + optionFilterProp: 'label', }, tbxLeaseObjectMotorPower: { min: 0, @@ -221,6 +227,7 @@ const props: Partial = { }, selectDealer: { showSearch: true, + optionFilterProp: 'label', }, tbxDealerRewardSumm: { min: 0, @@ -281,9 +288,11 @@ const props: Partial = { }, selectRegionRegistration: { showSearch: true, + optionFilterProp: 'label', }, selectTownRegistration: { showSearch: true, + optionFilterProp: 'label', }, radioQuoteContactGender: { optionType: 'button', @@ -328,12 +337,15 @@ const props: Partial = { }, selectLead: { showSearch: true, + optionFilterProp: 'label', }, selectOpportunity: { showSearch: true, + optionFilterProp: 'label', }, selectQuote: { showSearch: true, + optionFilterProp: 'label', }, btnCalculate: { text: 'Рассчитать график', @@ -393,6 +405,7 @@ const props: Partial = { }, selectObjectRegionRegistration: { showSearch: true, + optionFilterProp: 'label', }, tbxInsKaskoPriceLeasePeriod: { min: 0, @@ -404,9 +417,11 @@ const props: Partial = { }, selectLegalClientRegion: { showSearch: true, + optionFilterProp: 'label', }, selectLegalClientTown: { showSearch: true, + optionFilterProp: 'label', }, radioInfuranceOPF: { optionType: 'button',