MCPcopy Index your code
hub / github.com/json-editor/json-editor / setValueToInputField

Method setValueToInputField

src/editors/string.js:64–66  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

62 }
63
64 setValueToInputField (value) {
65 this.input.value = value === undefined ? '' : value
66 }
67
68 getNumColumns () {
69 const min = Math.ceil(Math.max(this.getTitle().length, this.schema.maxLength || 0, this.schema.minLength || 0) / 5)

Callers 1

setValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected