ui: fix fields with invalid type

This commit is contained in:
Matthew Penner 2021-09-15 11:41:02 -06:00
parent 6df2368264
commit 656ac62ad2
No known key found for this signature in database
GPG key ID: 030E4AB751DC756F
6 changed files with 10 additions and 10 deletions

View file

@ -67,7 +67,7 @@ export default () => {
<Form css={tw`m-0`}> <Form css={tw`m-0`}>
<Field <Field
type={'string'} type={'text'}
id={'short'} id={'short'}
name={'short'} name={'short'}
label={'Short'} label={'Short'}
@ -77,7 +77,7 @@ export default () => {
<div css={tw`mt-6`}> <div css={tw`mt-6`}>
<Field <Field
type={'string'} type={'text'}
id={'long'} id={'long'}
name={'long'} name={'long'}
label={'Long'} label={'Long'}

View file

@ -67,7 +67,7 @@ export default () => {
<Form css={tw`m-0`}> <Form css={tw`m-0`}>
<Field <Field
type={'string'} type={'text'}
id={'name'} id={'name'}
name={'name'} name={'name'}
label={'Name'} label={'Name'}
@ -77,7 +77,7 @@ export default () => {
<div css={tw`mt-6`}> <div css={tw`mt-6`}>
<Field <Field
type={'string'} type={'text'}
id={'description'} id={'description'}
name={'description'} name={'description'}
label={'Description'} label={'Description'}

View file

@ -65,7 +65,7 @@ export default () => {
<h2 css={tw`mb-6 text-2xl text-neutral-100`}>New Role</h2> <h2 css={tw`mb-6 text-2xl text-neutral-100`}>New Role</h2>
<Form css={tw`m-0`}> <Form css={tw`m-0`}>
<Field <Field
type={'string'} type={'text'}
id={'name'} id={'name'}
name={'name'} name={'name'}
label={'Name'} label={'Name'}
@ -75,7 +75,7 @@ export default () => {
<div css={tw`mt-6`}> <div css={tw`mt-6`}>
<Field <Field
type={'string'} type={'text'}
id={'description'} id={'description'}
name={'description'} name={'description'}
label={'Description'} label={'Description'}

View file

@ -69,7 +69,7 @@ export default () => {
<h2 css={tw`text-2xl mb-6`}>Create new database</h2> <h2 css={tw`text-2xl mb-6`}>Create new database</h2>
<Form css={tw`m-0`}> <Form css={tw`m-0`}>
<Field <Field
type={'string'} type={'text'}
id={'database_name'} id={'database_name'}
name={'databaseName'} name={'databaseName'}
label={'Database Name'} label={'Database Name'}
@ -77,7 +77,7 @@ export default () => {
/> />
<div css={tw`mt-6`}> <div css={tw`mt-6`}>
<Field <Field
type={'string'} type={'text'}
id={'connections_from'} id={'connections_from'}
name={'connectionsFrom'} name={'connectionsFrom'}
label={'Connections From'} label={'Connections From'}

View file

@ -54,7 +54,7 @@ const ChmodFileModal = ({ files, ...props }: OwnProps) => {
<div css={tw`flex flex-wrap items-end`}> <div css={tw`flex flex-wrap items-end`}>
<div css={tw`w-full sm:flex-1 sm:mr-4`}> <div css={tw`w-full sm:flex-1 sm:mr-4`}>
<Field <Field
type={'string'} type={'text'}
id={'file_mode'} id={'file_mode'}
name={'mode'} name={'mode'}
label={'File Mode'} label={'File Mode'}

View file

@ -68,7 +68,7 @@ const RenameFileModal = ({ files, useMoveTerminology, ...props }: OwnProps) => {
> >
<div css={tw`w-full sm:flex-1 sm:mr-4`}> <div css={tw`w-full sm:flex-1 sm:mr-4`}>
<Field <Field
type={'string'} type={'text'}
id={'file_name'} id={'file_name'}
name={'name'} name={'name'}
label={'File Name'} label={'File Name'}