Browse Source

feat: Subscription URL TextField use multiline (#761)

*Subscription link that are too long can make reading difficult, so use multiline TextField.
Majokeiko 1 year ago
parent
commit
15ee1e531b
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/components/profile/profile-viewer.tsx

+ 6 - 1
src/components/profile/profile-viewer.tsx

@@ -188,7 +188,12 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
               name="url"
               control={control}
               render={({ field }) => (
-                <TextField {...text} {...field} label={t("Subscription URL")} />
+                <TextField
+                  {...text}
+                  {...field}
+                  multiline
+                  label={t("Subscription URL")}
+                />
               )}
             />