diff --git a/components/DealsStatus/components/DealContractsSignEDO.js b/components/DealsStatus/components/DealContractsSignEDO.js index 9f19dc4..02dd057 100644 --- a/components/DealsStatus/components/DealContractsSignEDO.js +++ b/components/DealsStatus/components/DealContractsSignEDO.js @@ -508,7 +508,7 @@ class DealContractsSignEDO extends React.Component placeholder="Выберите доверенность" noOptionsMessage={ ({ inputValue }) => !inputValue ? "" :"Ничего не найдено" } isSearchable={ true } - className="autocomlete autocomlete_with_indicators" + className="autocomplete autocomplete_with_indicators" classNamePrefix="react-select" value={ document.attorney_selected } onChange={ (element) => { this._handle_onAttorneyChange(document.index, element) } } diff --git a/components/EDOSign/index.js b/components/EDOSign/index.js index d65bf06..f954057 100644 --- a/components/EDOSign/index.js +++ b/components/EDOSign/index.js @@ -496,7 +496,7 @@ class EDOSign extends React.Component placeholder="Выберите доверенность" noOptionsMessage={ ({ inputValue }) => !inputValue ? "" :"Ничего не найдено" } isSearchable={ true } - className="autocomlete autocomlete_with_indicators" + className="autocomplete autocomplete_with_indicators" classNamePrefix="react-select" value={ document.attorney_selected } onChange={ (element) => { this._handle_onAttorneyChange(document.index, element) } } diff --git a/components/questionnaire/AddressSuggests.js b/components/questionnaire/AddressSuggests.js index fd1258f..2d891b4 100644 --- a/components/questionnaire/AddressSuggests.js +++ b/components/questionnaire/AddressSuggests.js @@ -126,7 +126,7 @@ export default class AddressSuggests extends React.Component const { value, disabled, required, placeholder, className } = this.props; return ( -
+
+
+
-1 ?

Не соответствует ИНН

:

 

}

 

{ certificate.errors.indexOf("date") > -1 ?

{ certificate.errors.indexOf('date') > 1 ? "Срок действия закончился" : certificate.errors.indexOf('invalid') > 1 ? "Сертификат недействителен или нарушена цепочка сертификации" : null }

:

 

} + { certificate.errors.length === 1 && certificate.errors[0] === "invalid" && (

Сертификат недействителен или нарушена цепочка сертификации

) }
) }
diff --git a/components/questionnaire/forms/Form_3_Signer/index.js b/components/questionnaire/forms/Form_3_Signer/index.js index c3405e0..6bbc6f2 100644 --- a/components/questionnaire/forms/Form_3_Signer/index.js +++ b/components/questionnaire/forms/Form_3_Signer/index.js @@ -768,7 +768,7 @@ class Form_3_Signer extends QuestionnaireForm placeholder="Выберите тип документа" noOptionsMessage={ ({ inputValue }) => !inputValue ? noOptionsText :"Ничего не найдено" } isSearchable={ false } - className="autocomlete" + className="autocomplete" classNamePrefix="react-select" value={ doctypes_personal.filter((type) => head_person.identity_document.doctype === type.value) } onChange={ (element) => this._handle_onDocumentTypeChange("head_person", element) } @@ -885,7 +885,7 @@ class Form_3_Signer extends QuestionnaireForm placeholder="Выберите страну" noOptionsMessage={ ({ inputValue }) => !inputValue ? noOptionsText :"Ничего не найдено" } isSearchable={ true } - className="autocomlete" + className="autocomplete" classNamePrefix="react-select" value={ head_person_citizenship.code !== undefined && head_person_citizenship.code !== null ? head_person_citizenship : undefined } onChange={ (element) => { this._removeError("head_person.identity_document.citizenship"); this._handle_onCitizenshipChange(`head_person.identity_document.citizenship`, element.value) } } @@ -1278,7 +1278,7 @@ class Form_3_Signer extends QuestionnaireForm placeholder="Выберите тип документа" noOptionsMessage={ ({ inputValue }) => !inputValue ? noOptionsText :"Ничего не найдено" } isSearchable={ false } - className="autocomlete" + className="autocomplete" classNamePrefix="react-select" value={ doctypes_personal.filter((type) => signatory_person.identity_document.doctype === type.value) } onChange={ (element) => this._handle_onDocumentTypeChange("signatory_person", element) } @@ -1393,7 +1393,7 @@ class Form_3_Signer extends QuestionnaireForm
-1 ? "autocomlete error" : "autocomlete" } + className={ errors.indexOf("signatory_person.signer_rule_basic") > -1 ? "autocomplete error" : "autocomplete" } id="signatory_person.signer_rule_basic" name="signatory_person.signer_rule_basic" options={ doctypes_corporate } diff --git a/components/questionnaire/forms/Form_4_Shareholders/index.js b/components/questionnaire/forms/Form_4_Shareholders/index.js index 0639ace..a5fe32f 100644 --- a/components/questionnaire/forms/Form_4_Shareholders/index.js +++ b/components/questionnaire/forms/Form_4_Shareholders/index.js @@ -197,7 +197,7 @@ class ShareholderForm extends React.Component placeholder="Выберите тип документа" noOptionsMessage={ ({ inputValue }) => !inputValue ? noOptionsText :"Ничего не найдено" } isSearchable={ false } - className="autocomlete" + className="autocomplete" classNamePrefix="react-select" value={ doctypes_personal.filter((type) => shareholder.identity_document.doctype === type.value) } onChange={ (element) => { this._removeError("identity_document.doctype"); this._handle_onDocumentTypeChange(`founder_persons[${ index }]`, element); } } @@ -335,7 +335,7 @@ class ShareholderForm extends React.Component