MCPcopy Create free account
hub / github.com/WarFrontIO/client / linkSetting

Method linkSetting

src/ui/type/ValidatedInput.ts:99–117  ·  view source on GitHub ↗

* Links the input element to a setting. * @param setting The setting * @param resetOnInvalid Whether to reset the setting to its default value if the input is invalid

(setting: StringSetting, resetOnInvalid: boolean = true)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

onBlurMethod · 0.95
validateMethod · 0.95
mutateMethod · 0.95
addRuleMethod · 0.95
setMethod · 0.80
getMutatorsMethod · 0.80
getRulesMethod · 0.80

Tested by

no test coverage detected