Page MenuHomeWickedGov Phorge

useLabelChecker.js
No OneTemporary

Size
475 B
Referenced Files
None
Subscribers
None

useLabelChecker.js

"use strict";const n=require("./useSlotContents.js"),o=require("./useWarnOnce.cjs");function t(l,e,a){o(()=>n.useSlotContents(l).length===0&&!(e!=null&&e["aria-label"])&&!(e!=null&&e["aria-labelledby"]),"".concat(a,": Inputs must have an associated label. Provide one of the following:\n - A label via the appropriate slot\n - An `aria-label` attribute set to the label text\n - An `aria-labelledby` attribute set to the ID of the label element"))}exports.useLabelChecker=t;

File Metadata

Mime Type
text/plain
Expires
Aug 19 2026, 18:56 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
49/31/732751d61393e75643eebe7738fb
Default Alt Text
useLabelChecker.js (475 B)

Event Timeline