How to show a Badge on Edit Form

Hey folks, I have a status enum column on my model, when I edit a resource I want to show the current status as a badge on the edit form? Amy idea how i can do this? My enum has the getLabel, getColor, etc. implemented.
2 Replies
Matthew
Matthew4d ago
A badge is meant for display, it doesn't flow as an edit. You could use toggle buttons to get a similar effect, or you could have an info list with hint action to specific edits...
No description
Rolland
Rolland3d ago
can try using extraAttributes()
Want results from more Discord servers?
Add your server