what does the same as "getOptionLabelFromRecordUsing" in Select Input in SelectFilter ?
what does the same as "getOptionLabelFromRecordUsing" in Select Input in SelectFilter ?
Solution:Jump to solution
If you are not using a relationship, you can use getOptionLabelUsing() and/or getOptionLabelsUsing().
If you are using a relationship, you'd probably have to play around with using a computed attribute for the 'name' parameter on the relationship....
5 Replies
Solution
If you are not using a relationship, you can use getOptionLabelUsing() and/or getOptionLabelsUsing().
If you are using a relationship, you'd probably have to play around with using a computed attribute for the 'name' parameter on the relationship.
i think so thats the only way to make a computed field.
thanks @Hugh Messenger
I may be wrong, there may be some way to do it with a relationship, but I've never managed to find a way other than a compoted name attribute.
i cant find any other way to customized the relation ship record.
you're solution just works. so i'm fine with it
Hey @saifallak how did you solve for this, using an accessor in the model is not working for me.