update Add form fields

This commit is contained in:
nikk gitanes
2023-03-28 15:10:46 +03:00
parent d6d22b51ec
commit 6e5b74c211
5 changed files with 12 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ export default function LeftSideComponent({
helperText={t('AddDialog.TorrentSourceOptions')}
type='text'
fullWidth
variant='outlined'
onFocus={() => setIsTorrentSourceActive(true)}
onBlur={() => setIsTorrentSourceActive(false)}
inputProps={{ autoComplete: 'off' }}

View File

@@ -67,6 +67,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.OriginalTorrentTitle')}
type='text'
variant='outlined'
fullWidth
disabled={isCustomTitleEnabled}
InputProps={{ readOnly: true }}
@@ -79,6 +80,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.CustomTorrentTitle')}
type='text'
variant='outlined'
fullWidth
helperText={t('AddDialog.CustomTorrentTitleHelperText')}
InputProps={{
@@ -107,7 +109,9 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.TitleBlank')}
type='text'
variant='outlined'
fullWidth
helperText={t('AddDialog.TitleBlankHelperText')}
/>
)}
<TextField
@@ -116,6 +120,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.AddPosterLinkInput')}
type='url'
variant='outlined'
fullWidth
/>