Output a textarea widget. Refer to: `pywebio.input.textarea()`
(name: str, *, label: str = '', rows: int = 6, code: Union[bool, Dict] = None, maxlength: int = None,
minlength: int = None, value: str = None, placeholder: str = None, readonly: bool = None,
help_text: str = None, scope: str = None, position: int = OutputPosition.BOTTOM)
| 159 | |
| 160 | |
| 161 | def put_textarea(name: str, *, label: str = '', rows: int = 6, code: Union[bool, Dict] = None, maxlength: int = None, |
| 162 | minlength: int = None, value: str = None, placeholder: str = None, readonly: bool = None, |
| 163 | help_text: str = None, scope: str = None, position: int = OutputPosition.BOTTOM) -> Output: |
| 164 | """Output a textarea widget. Refer to: `pywebio.input.textarea()`""" |
| 165 | from pywebio.input import textarea |
| 166 | check_dom_name_value(name, 'pin `name`') |
| 167 | single_input_return = textarea( |
| 168 | name=name, label=label, rows=rows, code=code, maxlength=maxlength, |
| 169 | minlength=minlength, value=value, placeholder=placeholder, readonly=readonly, help_text=help_text) |
| 170 | return _pin_output(single_input_return, scope, position) |
| 171 | |
| 172 | |
| 173 | def put_select(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '', |
searching dependent graphs…