blueprint
blueprint copied to clipboard
[EditableText] Add support for rightElements in EditableText
Title says it all.
Edit: More Details
When an EditableText is being edited, I would like for the rendered input or textarea to display a minimal button or tag on the right, as can be done via the rightElement prop on an InputGroup.
There's no room for any icon in an editable text, so I'm afraid the title doesn't say it all. Can you elaborate on your use case?
Sorry, I updated the description with more details. The use case is to include a button for a file attachment while in edit mode, then a Tag with the filename of the attachment.
doesn't sound much like an editable text but something much more complex instead, would probably need to rewrite most of the component. adding as feature request for now
Want this too
This would be super handy too. Feels like mirroring some of the InputGroup
props in editableText
would make sense. rightElement
and leftElement
at least.