diff --git a/app/assets/javascripts/reports/new.js b/app/assets/javascripts/reports/new.js index 2cedf7882..37d943068 100644 --- a/app/assets/javascripts/reports/new.js +++ b/app/assets/javascripts/reports/new.js @@ -1156,7 +1156,7 @@ function reportHandsonTableConverter() { validateGenerateButtons(); }); - $('.report-name').on('change', function() { + $('.report-name').on('keyup', function() { validateGenerateButtons(); }); } diff --git a/app/assets/stylesheets/reports/new.scss b/app/assets/stylesheets/reports/new.scss index 8e39bed64..3a751cc2a 100644 --- a/app/assets/stylesheets/reports/new.scss +++ b/app/assets/stylesheets/reports/new.scss @@ -22,6 +22,14 @@ .report-name { @include font-h1; + + &:placeholder-shown { + border: 1px solid $brand-danger; + + &::placeholder { + color: $brand-danger; + } + } } }