How to access current row data in dynamic table field template?
Summary:
In a dynamic table field template, how do I access current row data for other fields?
Example: From end_date field template, access start_date from same row for min validation.
Current template:
<template slot="end_dateTemplate">
<oj-input-date value="{{ field.context.item.data.end_date }}">
min="I want to access current.row.start_date." </oj-input-date></template>
Tried: $current.row, $fields.start_date → Errors
In oj-table we can access it using current.row , but how do we achieve this in template section of dynamic layouts?
Version (include the version you are using, if applicable):
25.10.3
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0