Toggle Column Dynamic Label

He fellas, just wondering if there is a way to pass dynamic value into label (Like active and inactive based on status). I have seen that it accepts closure but only $record is available but it gives me null...
No description
4 Replies
ConnorHowell
ConnorHowell4mo ago
Column labels can't be dynamic based on the value of individual rows because the heading is above all rows?
SuperUserDo
SuperUserDoOP4mo ago
Sorry not column label, label of my Toggle Button
ConnorHowell
ConnorHowell4mo ago
Ah I see that makes more sense! I'm pretty sure the toggle column (and the form component) doesn't actually have a label anyway? As far as I'm aware there's also nowhere to hook in, could potentially be a PR to add offLabel and onLabel although I don't think it would be merged until v4 is released
SuperUserDo
SuperUserDoOP4mo ago
Thanks for info Connor!
Want results from more Discord servers?
Add your server