MCPcopy Create free account
hub / github.com/formkit/formkit / createMessageName

Function createMessageName

packages/validation/src/validation.ts:525–535  ·  view source on GitHub ↗
(node: FormKitNode)

Source from the content-addressed store, hash-verified

523 * @public
524 */
525export function createMessageName(node: FormKitNode): string {
526 if (typeof node.props.validationLabel === 'function') {
527 return node.props.validationLabel(node)
528 }
529 return (
530 node.props.validationLabel ||
531 node.props.label ||
532 node.props.name ||
533 String(node.name)
534 )
535}
536
537/**
538 * Describes hints, must also be changed in the debounceExtractor.

Callers 15

pl.tsFile · 0.90
th.tsFile · 0.90
zh.tsFile · 0.90
sl.tsFile · 0.90
az.tsFile · 0.90
bs.tsFile · 0.90
sr.tsFile · 0.90
ca.tsFile · 0.90
kk.tsFile · 0.90
ar.tsFile · 0.90
tg.tsFile · 0.90
ko.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected