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...
4 Replies
Column labels can't be dynamic based on the value of individual rows because the heading is above all rows?
Sorry not column label, label of my Toggle Button
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
Thanks for info Connor!