mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
fix: accounts suggest field
This commit is contained in:
@@ -10,7 +10,16 @@ import {
|
||||
TextArea,
|
||||
HTMLSelect,
|
||||
} from '@blueprintjs-formik/core';
|
||||
import { MultiSelect, SuggestField } from '@blueprintjs-formik/select';
|
||||
import {
|
||||
MultiSelect,
|
||||
Suggest,
|
||||
Select,
|
||||
FormikMultiSelect,
|
||||
FormikSuggest,
|
||||
withFormikMultiSelect,
|
||||
withFormikSuggest,
|
||||
withFormikSelect,
|
||||
} from '@blueprintjs-formik/select';
|
||||
import { DateInput, TimezoneSelect } from '@blueprintjs-formik/datetime';
|
||||
import { FSelect } from './Select';
|
||||
|
||||
@@ -22,11 +31,17 @@ export {
|
||||
RadioGroup as FRadioGroup,
|
||||
Switch as FSwitch,
|
||||
FSelect,
|
||||
MultiSelect as FMultiSelect,
|
||||
FormikMultiSelect as FMultiSelect,
|
||||
EditableText as FEditableText,
|
||||
SuggestField as FSuggest,
|
||||
FormikSuggest as FSuggest,
|
||||
TextArea as FTextArea,
|
||||
DateInput as FDateInput,
|
||||
HTMLSelect as FHTMLSelect,
|
||||
TimezoneSelect as FTimezoneSelect,
|
||||
Suggest,
|
||||
MultiSelect,
|
||||
Select,
|
||||
withFormikSelect,
|
||||
withFormikMultiSelect,
|
||||
withFormikSuggest,
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @ts-nocheck
|
||||
import React from 'react';
|
||||
import { Button } from '@blueprintjs/core';
|
||||
import { Select } from '@blueprintjs-formik/select';
|
||||
import { FormikSelect } from '@blueprintjs-formik/select';
|
||||
import styled from 'styled-components';
|
||||
import clsx from 'classnames';
|
||||
|
||||
@@ -14,7 +14,7 @@ export function FSelect({ ...props }) {
|
||||
className={clsx({ 'is-selected': !!text }, props.className)}
|
||||
/>
|
||||
);
|
||||
return <Select input={input} fill={true} {...props} />;
|
||||
return <FormikSelect input={input} fill={true} {...props} />;
|
||||
}
|
||||
|
||||
export const SelectButton = styled(Button)`
|
||||
|
||||
Reference in New Issue
Block a user