Skip to content

Commit

Permalink
placeholder text corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
ThusharaJ07 committed May 22, 2024
1 parent 1c8126f commit f50095c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/core/stories/combo-box/combo-box.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ export const SecondaryLabel: StoryFn<ComboBoxProps<CityWithCountry>> = (
value={value}
style={{ width: "266px" }}
valueToString={(city) => city.value}
placeholder="City"
>
{options.map((city) => (
<Option key={city.value} value={city}>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/stories/dropdown/dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export const SecondaryLabel: StoryFn<typeof Dropdown> = (args) => {
<Dropdown
style={{ width: "266px" }}
valueToString={(city: CityWithCountry) => city.value}
placeholder="Secondary label example"
placeholder="City"
>
{citiesWithCountries.map((city) => (
<Option key={city.value} value={city}>
Expand Down
1 change: 1 addition & 0 deletions site/src/examples/combo-box/SecondaryLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const SecondaryLabel = (): ReactElement => {
value={value}
style={{ width: "266px" }}
valueToString={(value) => value.value}
placeholder="City"
>
{options.map((city) => (
<Option key={city.value} value={city}>
Expand Down
2 changes: 1 addition & 1 deletion site/src/examples/dropdown/SecondaryLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const SecondaryLabel = (): ReactElement => {
<Dropdown
style={{ width: "266px" }}
valueToString={(city: CityWithCountry) => city.value}
placeholder="Secondary label example"
placeholder="City"
>
{citiesWithCountries.map((city) => (
<Option key={city.value} value={city}>
Expand Down

0 comments on commit f50095c

Please sign in to comment.