COR6603
(T. Chan)
1
Hello,
I have a list control with inline editing. There is a Yes/No field which the default label text is On/Off.

Is there a way to customize the label text to Yes/No for the inline editing field just like the control property?

Thank you in advance for your help!
Dear @COR6603,
Please, try the following JavaScript code:
fd.spRendered(function() {
fd.control('SPDataTable1').$on('edit', function(row) {
row.field('Bool').widgetOptions = { messages: {checked: "Yes", unchecked: 'No'}}
});
});
COR6603
(T. Chan)
3
Works perfectly! Thank you much!