How can filters be programmatically applied to select values? During each iteration of records and columns, I am checking if the column ID starts with 'd', indicating it's a datetime field. In such cases, I want to apply the humanize filter only to that specific field. However, the current code results in NaN for every field.
<tr v-for="record in records" @dblClick="readRecord(record)">
<td v-for="column in columns">
{{ _.startsWith(record[column.id], 'd') ? record[column.id] | humanize : column.id; }}
</td>
</tr>