From e5344eb3a578cdb2ccae25383cb4d99b572bf9d6 Mon Sep 17 00:00:00 2001 From: Joe Gaudet Date: Fri, 17 Jul 2020 10:29:16 -0700 Subject: [PATCH] Fix tagName to use args --- addon/components/field-for.hbs | 4 ++-- addon/components/field-for.js | 10 ++++++++++ addon/components/form-for.hbs | 8 ++++---- addon/components/form-for.js | 20 ++++++++++++++++++++ 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/addon/components/field-for.hbs b/addon/components/field-for.hbs index 584d5aee..7bd14334 100644 --- a/addon/components/field-for.hbs +++ b/addon/components/field-for.hbs @@ -1,6 +1,6 @@ -{{#let (-element (or @tagName "div")) as |Tag|}} +{{#let (-element this.tagName) as |Tag|}}