From 4be72c07f3c23b510a7f127c61a07eee63577209 Mon Sep 17 00:00:00 2001 From: Dustin Nielsen Date: Thu, 13 Aug 2026 17:06:11 -0600 Subject: [PATCH] chore(#2899): Updated Input example documentation --- docs/src/data/configurations/input.ts | 72 ++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/docs/src/data/configurations/input.ts b/docs/src/data/configurations/input.ts index 6da35aa46b..f42a6fa9be 100644 --- a/docs/src/data/configurations/input.ts +++ b/docs/src/data/configurations/input.ts @@ -365,7 +365,7 @@ const [sin, setSin] = useState("");`, { id: "leading-trailing-content", name: "With leading or trailing content", - description: "Inputs with text content before or after the input field", + description: "Inputs with text or slotted content before or after the input field", code: { react: { ts: `const [price, setPrice] = useState(""); @@ -389,6 +389,26 @@ const [weight, setWeight] = useState("");`, value={weight} onChange={(detail) => setWeight(detail.value)} /> + + + CAD} + value={price} + onChange={(detail) => setPrice(detail.value)} + /> + + + lb} + value={weight} + onChange={(detail) => setWeight(detail.value)} + /> `, }, angular: [ @@ -422,6 +442,26 @@ const [weight, setWeight] = useState("");`, formControlName="weight" > + CAD + + + + lb + + + `, }, { @@ -449,6 +489,26 @@ const [weight, setWeight] = useState("");`, [(ngModel)]="weight" > + CAD + + + + lb + + + `, }, ], @@ -461,6 +521,16 @@ const [weight, setWeight] = useState("");`,
kg
+ + + +
CAD
+
+
+ + +
lb
+
`, }, },