ui: fix fields with invalid type
This commit is contained in:
parent
6df2368264
commit
656ac62ad2
6 changed files with 10 additions and 10 deletions
|
@ -54,7 +54,7 @@ const ChmodFileModal = ({ files, ...props }: OwnProps) => {
|
|||
<div css={tw`flex flex-wrap items-end`}>
|
||||
<div css={tw`w-full sm:flex-1 sm:mr-4`}>
|
||||
<Field
|
||||
type={'string'}
|
||||
type={'text'}
|
||||
id={'file_mode'}
|
||||
name={'mode'}
|
||||
label={'File Mode'}
|
||||
|
|
|
@ -68,7 +68,7 @@ const RenameFileModal = ({ files, useMoveTerminology, ...props }: OwnProps) => {
|
|||
>
|
||||
<div css={tw`w-full sm:flex-1 sm:mr-4`}>
|
||||
<Field
|
||||
type={'string'}
|
||||
type={'text'}
|
||||
id={'file_name'}
|
||||
name={'name'}
|
||||
label={'File Name'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue