Skip to content

Commit

Permalink
feat: update placeholder story
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshaa-m committed Apr 13, 2023
1 parent ef330b3 commit b0ae6f6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export const RangeTemplate = (args, { argTypes }) => ({
ref="start"
identifier="start"
label="Start"
:placeholder="placeholder"
style="margin-right: 8px;"
:value="$data.start"
:max="$data.end"
Expand Down Expand Up @@ -205,6 +204,7 @@ export const RangeTemplate = (args, { argTypes }) => ({
args={{
value: '2020-12-31',
label: 'Standard',
placeholder: 'Select date'
}}
>
{Template.bind({})}
Expand All @@ -217,6 +217,7 @@ export const RangeTemplate = (args, { argTypes }) => ({
<scale-date-picker
label="Standard"
value="2020-12-31"
placeholder="Select date"
@scaleChange="handleChange"
@scaleFocus="handleFocus"
@scaleBlur="handleBlur"
Expand Down Expand Up @@ -284,6 +285,7 @@ duet-date-picker {
label: 'With Error',
invalid: true,
helperText: 'something is wrong',
placeholder: 'select date'
}}
>
{Template.bind({})}
Expand All @@ -296,6 +298,7 @@ duet-date-picker {
helper-text="something is wrong"
invalid
value="2020-12-31"
placeholder: 'select date'
></scale-date-picker>
```

Expand Down Expand Up @@ -419,7 +422,6 @@ const RangeTemplate = (args, { argTypes }) => ({
ref="start"
identifier="start"
label="Start"
:placeholder="placeholder"
style="margin-right: 8px;"
:value="$data.start"
:max="$data.end"
Expand Down

0 comments on commit b0ae6f6

Please sign in to comment.