mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	more feedback
This commit is contained in:
		@@ -38,6 +38,7 @@ nopaque.Forms.init = function() {
 | 
				
			|||||||
      for (let selectElement of form.querySelectorAll('select')) {
 | 
					      for (let selectElement of form.querySelectorAll('select')) {
 | 
				
			||||||
        if (selectElement.value === "") {
 | 
					        if (selectElement.value === "") {
 | 
				
			||||||
          parentElement = selectElement.closest(".input-field");
 | 
					          parentElement = selectElement.closest(".input-field");
 | 
				
			||||||
 | 
					          parentElement.querySelector(".select-dropdown").classList.add("invalid");
 | 
				
			||||||
          for (let helperTextElement of parentElement.querySelectorAll(".helper-text")) {
 | 
					          for (let helperTextElement of parentElement.querySelectorAll(".helper-text")) {
 | 
				
			||||||
            helperTextElement.remove();
 | 
					            helperTextElement.remove();
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user