Skip to content

Commit 9709150

Browse files
chore: update textfield template args instead
1 parent 04c96a3 commit 9709150

File tree

6 files changed

+1
-8
lines changed

6 files changed

+1
-8
lines changed

components/combobox/stories/template.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ const Combobox = ({
6767
name: "field",
6868
isReadOnly,
6969
value,
70-
displayLabel: false,
7170
onclick: function () {
7271
if (!isOpen) updateArgs({ isOpen: true });
7372
},

components/datepicker/stories/template.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ export const DatePicker = ({
6464
name: "field",
6565
id: triggerId,
6666
value: selectedDay ? new Date(selectedDay).toLocaleDateString(lang) : undefined,
67-
displayLabel: false,
6867
onclick: function () {
6968
if (!isOpen) updateArgs({ isOpen: true });
7069
},

components/form/stories/form.stories.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export default {
5151
...passthroughs,
5252
multiline: true,
5353
name: "field",
54-
displayLabel: false,
5554
}, context),
5655
],
5756
}, {
@@ -62,7 +61,6 @@ export default {
6261
...passthroughs,
6362
type: "email",
6463
name: "email",
65-
displayLabel: false,
6664
}, context),
6765
],
6866
}, {
@@ -73,7 +71,6 @@ export default {
7371
...passthroughs,
7472
placeholder: "Select a country",
7573
name: "country",
76-
displayLabel: false,
7774
}, context),
7875
],
7976
}, {

components/pagination/stories/template.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export const Template = ({
3333
size,
3434
value: "1",
3535
customClasses: [`${rootClass}-textfield`],
36-
displayLabel: false,
3736
}, context)}
3837
<span class="${rootClass}-counter">of 89 pages</span>
3938
${ActionButton({

components/stepper/stories/template.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export const Template = ({
7070
id: id ? `${id}-input` : undefined,
7171
customClasses: [`${rootClass}-textfield`],
7272
customInputClasses: [`${rootClass}-input`],
73-
displayLabel: false,
7473
}, context)}
7574
${when(!hideStepper, () => html`
7675
<span class="${rootClass}-buttons">

components/textfield/stories/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const Template = ({
7070
isReadOnly = false,
7171
isKeyboardFocused = false,
7272
isLoading = false,
73-
displayLabel = true,
73+
displayLabel,
7474
labelPosition = "top",
7575
labelText,
7676
characterCount,

0 commit comments

Comments
 (0)