MCPcopy Create free account
hub / github.com/chhoumann/quickadd / setValue

Method setValue

src/preflight/OnePageInputModal.ts:156–159  ·  view source on GitHub ↗
(id: string, value: string)

Source from the content-addressed store, hash-verified

154
155 private renderField(req: FieldRequirement) {
156 const setValue = (id: string, value: string) => {
157 this.result.set(id, value);
158 this.updatePreviewDebounced();
159 };
160 const starting = this.initialValues.get(req.id) ?? req.defaultValue ?? "";
161
162 switch (req.type) {

Callers 2

renderDateAliasesMethod · 0.45
renderFieldMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected