File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/ui/src/fields/Textarea Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { useFieldProps } from '../../forms/FieldPropsProvider/index.js'
10
10
import { useField } from '../../forms/useField/index.js'
11
11
import { withCondition } from '../../forms/withCondition/index.js'
12
12
import { useConfig } from '../../providers/Config/index.js'
13
+ import { useLocale } from '../../providers/Locale/index.js'
13
14
import { useTranslation } from '../../providers/Translation/index.js'
14
15
import { isFieldRTL } from '../shared/index.js'
15
16
import './index.scss'
@@ -42,14 +43,14 @@ const TextareaFieldComponent: TextareaFieldClientComponent = (props) => {
42
43
required,
43
44
} ,
44
45
labelProps,
45
- locale,
46
46
readOnly : readOnlyFromTopLevelProps ,
47
47
validate,
48
48
} = props
49
49
50
50
const readOnlyFromProps = readOnlyFromTopLevelProps || readOnlyFromAdmin
51
51
52
52
const { i18n } = useTranslation ( )
53
+ const locale = useLocale ( )
53
54
54
55
const {
55
56
config : { localization } ,
You can’t perform that action at this time.
0 commit comments