How to add a prefix component to slug text input? #4128
Unanswered
aaronbentley
asked this question in
Sanity Studio Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Sanity Community 👋
I was wondering how to add a prefix element to the
slug
text input field while still keeping the 'Generate' button, perhaps using theTextInput
prefix prop as mentioned in the Sanity UI component properties docs?Is this possible by overriding props when used with
{props.renderDefault(props)}
so I can keep the 'Generate' functionality?Beta Was this translation helpful? Give feedback.
All reactions