ui: make Scope Details page's Description a textarea, like Roles' (#30273)

The Scope Details page had its description field as a single line text
field. This is inconsistent with the Roles page, which has it as a
textarea allowing multiline editing.

It's true that the character limit is 255 (which is way too short and
should probably be changed imo) but newlines are useful in tweets too :)

Signed-off-by: Jade Lovelace <software@lfcode.ca>
This commit is contained in:
Jade Lovelace 2024-06-25 06:59:52 -07:00 committed by GitHub
parent 5af3001122
commit 32e3063a6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,7 +117,7 @@ export const ScopeForm = ({ clientScope, save }: ScopeFormProps) => {
)}
</>
)}
<TextControl
<TextAreaControl
name="description"
label={t("description")}
labelIcon={t("scopeDescriptionHelp")}