Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(components): update filled inputs in items callout to an admonition #3656

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/api/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ import Clear from '@site/static/usage/v8/input/clear/index.md';

Material Design offers filled styles for an input. The `fill` property on the input can be set to either `"solid"` or `"outline"`.

Since the `fill` styles visually defines the input container, inputs that use `fill` should not be used in `ion-item`.
Filled inputs can be used on iOS by setting the input's `mode` to `md`.

Filled inputs can be used on iOS by setting Input's `mode` to `md`.
:::warning
Inputs that use `fill` should not be used in an `ion-item` due to styling conflicts between the components.
:::

import Fill from '@site/static/usage/v8/input/fill/index.md';

Expand Down
8 changes: 6 additions & 2 deletions docs/api/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ import ObjectValuesAndMultipleSelectionExample from '@site/static/usage/v8/selec
<ObjectValuesAndMultipleSelectionExample />

## Justification

Developers can use the `justify` property to control how the label and control are packed on a line.

import JustifyExample from '@site/static/usage/v8/select/justify/index.md';
Expand All @@ -145,7 +145,11 @@ import JustifyExample from '@site/static/usage/v8/select/justify/index.md';

Material Design offers filled styles for a select. The `fill` property on the select can be set to either `"solid"` or `"outline"`.

Since the `fill` styles visually defines the select container, selects that use `fill` should not be used in `ion-item`.
Filled selects can be used on iOS by setting the select's `mode` to `md`.

:::warning
Selects that use `fill` should not be used in an `ion-item` due to styling conflicts between the components.
:::

import FillExample from '@site/static/usage/v8/select/fill/index.md';

Expand Down
6 changes: 4 additions & 2 deletions docs/api/textarea.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ import NoVisibleLabel from '@site/static/usage/v8/textarea/no-visible-label/inde

Material Design offers filled styles for a textarea. The `fill` property on the item can be set to either `"solid"` or `"outline"`.

Since the `fill` styles visually defines the textarea container, textareas that use `fill` should not be used in `ion-item`.
Filled textareas can be used on iOS by setting the textarea's `mode` to `md`.

Filled textareas can be used on iOS by setting Textarea's `mode` to `md`.
:::warning
Textareas that use `fill` should not be used in an `ion-item` due to styling conflicts between the components.
:::

import Fill from '@site/static/usage/v8/textarea/fill/index.md';

Expand Down