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

View file

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

View file

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

View file

@ -69,7 +69,7 @@ export default () => {
<h2 css={tw`text-2xl mb-6`}>Create new database</h2>
<Form css={tw`m-0`}>
<Field
type={'string'}
type={'text'}
id={'database_name'}
name={'databaseName'}
label={'Database Name'}
@ -77,7 +77,7 @@ export default () => {
/>
<div css={tw`mt-6`}>
<Field
type={'string'}
type={'text'}
id={'connections_from'}
name={'connectionsFrom'}
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`w-full sm:flex-1 sm:mr-4`}>
<Field
type={'string'}
type={'text'}
id={'file_mode'}
name={'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`}>
<Field
type={'string'}
type={'text'}
id={'file_name'}
name={'name'}
label={'File Name'}