From 1f4a668ae07211d37c51ed5c8275e01a678c7bde Mon Sep 17 00:00:00 2001 From: chrisala Date: Thu, 11 Jan 2024 10:48:19 +1100 Subject: [PATCH] Fixed typo when registering find dependencies. #216 --- grails-app/assets/javascripts/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/assets/javascripts/forms.js b/grails-app/assets/javascripts/forms.js index c64892e..aa1ae1a 100644 --- a/grails-app/assets/javascripts/forms.js +++ b/grails-app/assets/javascripts/forms.js @@ -855,7 +855,7 @@ function orEmptyArray(v) { ecodata.forms.expressionEvaluator.evaluate(prepopConf.filter.expression, dataLoaderContext); } if (prepopConf.find) { - ecodata.forms.expressionEvaluator.evaluate(prepopConf.filter.expression, dataLoaderContext); + ecodata.forms.expressionEvaluator.evaluate(prepopConf.find.expression, dataLoaderContext); } dataLoader.prepop(prepopConf).done(function (data) { constraintsObservable(data);