defined static structure as src/apps/dashboard/static/apps/scripts/dashboard.js for Jasmine testing purposes; efforts to get past textInput=null have thus far been frustrated
This commit is contained in:
@@ -51,4 +51,12 @@
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.8/js/bootstrap.min.js"
|
||||
></script>
|
||||
|
||||
<script>
|
||||
const textInput = document.querySelector('#id_text');
|
||||
textInput.oninput = () => {
|
||||
const errorMsg = document.querySelector(".invalid-feedback");
|
||||
errorMsg.style.display = "none";
|
||||
}
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user