Skip to content

Commit

Permalink
docs(select): test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rLukoyanov committed Feb 7, 2025
1 parent 61545f3 commit 19fa4c5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/Select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,12 @@ You can change this with the `errorPlacement` property.
<!--LANDING_BLOCK
<ExampleBlock
code={`
<Select placeholder="Placeholder" errorMessage="Error message" validationState="invalid" />
<Select placeholder="Placeholder" errorMessage="Error message" validationState="invalid">
<Select.Option value="val_1">Value 1</Select.Option>
<Select.Option value="val_2">Value 2</Select.Option>
<Select.Option value="val_3">Value 3</Select.Option>
<Select.Option value="val_4">Value 4</Select.Option>
</Select>
<Select placeholder="Placeholder" errorPlacement="inside" errorMessage="Error message" validationState="invalid" />
`}
>
Expand All @@ -1122,13 +1127,13 @@ You can change this with the `errorPlacement` property.
<UIKit.Select.Option value="val_2">Value 2</UIKit.Select.Option>
<UIKit.Select.Option value="val_3">Value 3</UIKit.Select.Option>
<UIKit.Select.Option value="val_4">Value 4</UIKit.Select.Option>
<UIKit.Select />
</UIKit.Select>
<UIKit.Select placeholder="Placeholder" errorPlacement="inside" errorMessage="Error message" validationState="invalid" />
<UIKit.Select.Option value="val_1">Value 1</UIKit.Select.Option>
<UIKit.Select.Option value="val_2">Value 2</UIKit.Select.Option>
<UIKit.Select.Option value="val_3">Value 3</UIKit.Select.Option>
<UIKit.Select.Option value="val_4">Value 4</UIKit.Select.Option>
<UIKit.Select />
</UIKit.Select>
</ExampleBlock>
LANDING_BLOCK-->

Expand Down

0 comments on commit 19fa4c5

Please sign in to comment.