In the classic app i had some custom javascript that took the search from one table and applied it to another table. Has anyone got something like this working in next gen?
this is my classic code:
$(document).on('knack-records-render.view_203 , knack-records-render.view_416', async function(event, view, records) {
Knack.showSpinner();
// Find the dropdown element.
var $dropdown = $('[data-field-key="field_142"]');
if ($dropdown.length > 0) {
// Get the selected option text from the dropdown.
var siteSearch = $dropdown.find('option:selected').text();
console.log(siteSearch);
//send search to helpful information view
var siteSearchShort = siteSearch.substr(0, 5);
$("input[name='value']").val(siteSearchShort);
$("input[name='value']").submit();
Knack.hideSpinner();
});