You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Additional classes added to the text input. */
33
40
className?: string;
34
41
/** Flag to show if the text input is disabled. */
35
42
isDisabled?: boolean;
36
-
/** Flag to apply expanded styling */
43
+
/** @deprecatedFlag to apply expanded styling. expandedProps should now be used instead. */
37
44
isExpanded?: boolean;
45
+
/** Prop to apply expanded styling to the text input and link it to the element it is controlling. This should be used when the input controls a menu and that menu is expandable. */
46
+
expandedProps?: TextInputExpandedObj;
38
47
/** Sets the input as readonly and determines the readonly styling. */
39
48
readOnlyVariant?: 'plain'|'default';
40
49
/** Flag indicating whether the input is required */
@@ -182,6 +191,7 @@ export class TextInputBase extends React.Component<TextInputProps, TextInputStat
182
191
isLeftTruncated,
183
192
isStartTruncated,
184
193
isExpanded,
194
+
expandedProps,
185
195
readOnly,
186
196
readOnlyVariant,
187
197
isRequired,
@@ -193,6 +203,9 @@ export class TextInputBase extends React.Component<TextInputProps, TextInputStat
0 commit comments