Skip to content

Commit 7deb067

Browse files
docs(components): update filled inputs in items callout to an admonition (#3656)
1 parent b785cd7 commit 7deb067

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

docs/api/input.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ import Clear from '@site/static/usage/v8/input/clear/index.md';
8383

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

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

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

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

docs/api/select.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ import ObjectValuesAndMultipleSelectionExample from '@site/static/usage/v8/selec
134134
<ObjectValuesAndMultipleSelectionExample />
135135

136136
## Justification
137-
137+
138138
Developers can use the `justify` property to control how the label and control are packed on a line.
139139

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

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

148-
Since the `fill` styles visually defines the select container, selects that use `fill` should not be used in `ion-item`.
148+
Filled selects can be used on iOS by setting the select's `mode` to `md`.
149+
150+
:::warning
151+
Selects that use `fill` should not be used in an `ion-item` due to styling conflicts between the components.
152+
:::
149153

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

docs/api/textarea.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ import NoVisibleLabel from '@site/static/usage/v8/textarea/no-visible-label/inde
6767

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

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

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

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

0 commit comments

Comments
 (0)