From 13f4fee4f7a332ac04f99b61d5748754bdd3840a Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Thu, 11 Jul 2019 12:33:07 +0200 Subject: [PATCH] fix(lib): fix recomputing of the optional state --- addon/lib/document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/lib/document.js b/addon/lib/document.js index 49cb6d0da..fdc8f8d49 100644 --- a/addon/lib/document.js +++ b/addon/lib/document.js @@ -199,7 +199,7 @@ export default Base.extend({ ); hiddenDependents.forEach(f => f.hiddenTask.perform()); - optionalDependents.forEach(f => f.hiddenTask.perform()); + optionalDependents.forEach(f => f.optionalTask.perform()); }; // if the field is a form question, the fields of the linked fieldset must