Quellcode durchsuchen

feat: Subscription URL TextField use multiline (#761)

*Subscription link that are too long can make reading difficult, so use multiline TextField.
Majokeiko vor 1 Jahr
Ursprung
Commit
15ee1e531b
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  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")}
+                />
               )}
             />