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
* `classes`: List of CSS classes to apply to the input.
108
114
* `style`: CSS style to apply to the input.
109
115
* `autofocus`: Determines if a component is to be autofocused or not (Default is False). Autofocus will occur during page load and only one component per page can have autofocus active.
116
+
* `dense`: Reduces the input height.
117
+
* `hide_details`: Hides hint and validation errors. When set to 'auto', messages will be rendered only if there's a message (hint, error message, etc) to display.
118
+
* `placeholder`: Sets the input's placeholder text.
* `classes`: List of CSS classes to apply to the input.
219
252
* `style`: CSS style to apply to the input.
220
253
* `autofocus`: Determines if a component is to be autofocused or not (Default is False). Autofocus will occur either during page load, or when the component becomes visible (for example, dialog being opened). Only one component per page should have autofocus on each such event.
254
+
* `dense`: Reduces the input height.
255
+
* `hide_details`: Hides hint and validation errors. When set to 'auto', messages will be rendered only if there's a message (hint, error message, etc) to display.
256
+
* `placeholder`: Sets the input's placeholder text.
* `classes`: List of CSS classes to apply to the input.
325
383
* `style`: CSS style to apply to the input.
326
384
* `autofocus`: Determines if a component is to be autofocused or not (Default is False). Autofocus will occur either during page load, or when the component becomes visible (for example, dialog being opened). Only one component per page should have autofocus on each such event.
385
+
* `dense`: Reduces the input height.
386
+
* `hide_details`: Hides hint and validation errors. When set to 'auto', messages will be rendered only if there's a message (hint, error message, etc) to display.
387
+
* `placeholder`: Sets the input's placeholder text.
* `classes`: List of CSS classes to apply to the input.
421
494
* `style`: CSS style to apply to the input.
422
495
* `autofocus`: Determines if a component is to be autofocused or not (Default is False). Autofocus will occur either during page load, or when the component becomes visible (for example, dialog being opened). Only one component per page should have autofocus on each such event.
496
+
* `dense`: Reduces the input height.
497
+
* `hide_details`: Hides hint and validation errors. When set to 'auto', messages will be rendered only if there's a message (hint, error message, etc) to display.
498
+
* `placeholder`: Sets the input's placeholder text.
Copy file name to clipboardExpand all lines: solara/components/input_text_area.py
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@ def InputTextArea(
16
16
message: Optional[str] =None,
17
17
auto_grow: bool=True,
18
18
rows: int=5,
19
+
dense: bool=False,
20
+
hide_details: Union[str, bool] ="auto",
21
+
placeholder: Optional[str] =None,
22
+
prefix: Optional[str] =None,
23
+
suffix: Optional[str] =None,
19
24
):
20
25
r"""Free form text area input.
21
26
@@ -53,6 +58,11 @@ def Page():
53
58
* `message`: Message to show below the input. If `error` is a string, this will be ignored.
54
59
* `classes`: List of CSS classes to apply to the input.
55
60
* `style`: CSS style to apply to the input.
61
+
* `dense`: Reduces the input height.
62
+
* `hide_details`: Hides hint and validation errors. When set to 'auto', messages will be rendered only if there's a message (hint, error message, counter value etc) to display.
63
+
* `placeholder`: Sets the input's placeholder text.
0 commit comments