Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
amber-vale committed Jan 27, 2020
1 parent cae5d01 commit 4ca39d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bs-jsonform.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ class JsonForm {
}

if (fieldInstance.field.required && fieldInstance.field.type == "list") {
console.log(Value)
if (Object.keys(Value).length == 0 || Object.keys(Value[1]).length == 0) {
this._invalidateInput(id, requiredMsg)
Valid = false
Expand Down Expand Up @@ -391,8 +390,6 @@ class JsonForm {

var Value = ""

console.log(id, $(Element), $(Element).prop("nodeName"), $(Element).attr("type"))

switch (Element.attr("type")) {
case "checkbox" || "radio":
Value = Element.is(":checked")
Expand Down Expand Up @@ -774,8 +771,6 @@ class JsonForm {
var formInstance = this.formInstances[instance]
var fieldInstance = formInstance.Fields[fieldId]

console.log(fieldId, event)

switch (event) {
// Handle initializing a list
case "initialize":
Expand All @@ -798,7 +793,6 @@ class JsonForm {
template = ``
width = Math.floor(10 / (fieldInstance.field.fields.length - offset))
fieldInstance.field.fields.forEach((item, index) => {
console.log(item)
item.field.width = width
var domId = id+"-AddInput-"+index
item = this._padFieldJson(item)
Expand Down Expand Up @@ -842,7 +836,6 @@ class JsonForm {
fieldInstance.field.fields.forEach((item, index) => {
var domId = "#"+id+"-AddInput-"+index
values[index] = this._inputValue(domId).Value
console.log(this._inputValue(domId), domId)
})
}

Expand Down

0 comments on commit 4ca39d2

Please sign in to comment.