Skip to content

Commit

Permalink
feat: Subscription URL TextField use multiline (zzzgydi#761)
Browse files Browse the repository at this point in the history
*Subscription link that are too long can make reading difficult, so use multiline TextField.
  • Loading branch information
keiko233 authored Sep 7, 2023
1 parent 1c8fb33 commit 15ee1e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/profile/profile-viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
/>
)}
/>

Expand Down

0 comments on commit 15ee1e5

Please sign in to comment.