Removed test console logging code from value function.
This commit is contained in:
		@@ -120,13 +120,11 @@ class IgniteTemplate {
 | 
				
			|||||||
            if (reflect) {
 | 
					            if (reflect) {
 | 
				
			||||||
                this.on("change", (event) => {
 | 
					                this.on("change", (event) => {
 | 
				
			||||||
                    var newValue = (this.element.hasAttribute("type") && this.element.getAttribute("type").toLowerCase().trim() == "checkbox" ? this.element.checked : this.element.value);
 | 
					                    var newValue = (this.element.hasAttribute("type") && this.element.getAttribute("type").toLowerCase().trim() == "checkbox" ? this.element.checked : this.element.value);
 | 
				
			||||||
                    console.log("Element change triggered, setting new value:", newValue);
 | 
					 | 
				
			||||||
                    value.setValue(newValue, true);
 | 
					                    value.setValue(newValue, true);
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                this.on("keyup", (event) => {
 | 
					                this.on("keyup", (event) => {
 | 
				
			||||||
                    var newValue = (this.element.hasAttribute("type") && this.element.getAttribute("type").toLowerCase().trim() == "checkbox" ? this.element.checked : this.element.value);
 | 
					                    var newValue = (this.element.hasAttribute("type") && this.element.getAttribute("type").toLowerCase().trim() == "checkbox" ? this.element.checked : this.element.value);
 | 
				
			||||||
                    console.log("Element keyup triggered, setting new value:", newValue);
 | 
					 | 
				
			||||||
                    value.setValue(newValue, true);
 | 
					                    value.setValue(newValue, true);
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user