Skip to content

Commit

Permalink
Add label
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef authored and iOvergaard committed Sep 10, 2024
1 parent d83f03c commit a0f8ee5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/uui-input/lib/uui-input.story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ export const Readonly: Story = {

export const Error: Story = {
render: props => html`
<uui-input .type=${props.type} .value=${props.value} ?error=${props.error}>
<uui-input
.type=${props.type}
.label=${props.label}
.value=${props.value}
?error=${props.error}>
</uui-input>
`,
args: { error: true, label: 'Error' },
Expand Down

0 comments on commit a0f8ee5

Please sign in to comment.