We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be an amazing user experience if we could use our component library to render the input 🙏
import TextField from '@mui/material/TextField'; const renderInput = (props) => <TextField {...props} label='Comment...' />; export const MentionsTextfield: FC<MentionsTextfieldProps> = ({ options, value, onChange, disabled }) => { const inputRef = useRef<HTMLElement>(null); useEffect(() => { inputRef.current?.focus(); }, []); return ( <MentionsInput ref={inputRef} style={defaultStyleMentions} singleLine={false} disabled={disabled} value={value} onChange={onChange} renderInput={renderInput} > <Mention appendSpaceOnAdd displayTransform={(_, display) => `@${display} `} trigger='@' markup={MENTION_MARKUP} data={options} /> </MentionsInput> ); };
The text was updated successfully, but these errors were encountered:
Added RenderInput signavio#622
b40908d
Added RenderInput signavio#622 (#14)
a11f589
signavio#623
There's an open PR by @taifen that solves this, let's bump it up 👍🏻
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
It would be an amazing user experience if we could use our component library to render the input 🙏
The text was updated successfully, but these errors were encountered: