diff options
Diffstat (limited to 'src/components/ui/input/index.tsx')
-rw-r--r-- | src/components/ui/input/index.tsx | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/components/ui/input/index.tsx b/src/components/ui/input/index.tsx index 68cc9ee22..c61efe570 100644 --- a/src/components/ui/input/index.tsx +++ b/src/components/ui/input/index.tsx | |||
@@ -1,22 +1,26 @@ | |||
1 | import { mdiEye, mdiEyeOff } from '@mdi/js'; | 1 | import { mdiEye, mdiEyeOff } from '@mdi/js'; |
2 | import classnames from 'classnames'; | 2 | import classnames from 'classnames'; |
3 | import { noop } from 'lodash'; | ||
4 | import { observer } from 'mobx-react'; | ||
3 | import { | 5 | import { |
4 | Component, | 6 | Component, |
7 | type InputHTMLAttributes, | ||
8 | type KeyboardEvent, | ||
9 | type ReactElement, | ||
10 | type RefObject, | ||
5 | createRef, | 11 | createRef, |
6 | InputHTMLAttributes, | ||
7 | ReactElement, | ||
8 | RefObject, | ||
9 | KeyboardEvent, | ||
10 | } from 'react'; | 12 | } from 'react'; |
11 | import withStyles, { WithStylesProps } from 'react-jss'; | 13 | import { |
12 | import { noop } from 'lodash'; | 14 | type WrappedComponentProps, |
13 | import { observer } from 'mobx-react'; | 15 | defineMessages, |
14 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 16 | injectIntl, |
15 | import Icon from '../icon'; | 17 | } from 'react-intl'; |
16 | import { IFormField } from '../typings/generic'; | 18 | import withStyles, { type WithStylesProps } from 'react-jss'; |
17 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | 19 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> |
18 | import Error from '../error'; | 20 | import Error from '../error'; |
21 | import Icon from '../icon'; | ||
19 | import Label from '../label'; | 22 | import Label from '../label'; |
23 | import type { IFormField } from '../typings/generic'; | ||
20 | import Wrapper from '../wrapper'; | 24 | import Wrapper from '../wrapper'; |
21 | import { scorePasswordFunc } from './scorePassword'; | 25 | import { scorePasswordFunc } from './scorePassword'; |
22 | import styles from './styles'; | 26 | import styles from './styles'; |