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: text field #357

Merged
merged 11 commits into from
Mar 27, 2024
Merged

docs: text field #357

merged 11 commits into from
Mar 27, 2024

Conversation

ethanalvizo
Copy link
Contributor

Closes #300

@ethanalvizo ethanalvizo requested a review from mofojed March 12, 2024 20:46
@ethanalvizo ethanalvizo requested a review from mofojed March 26, 2024 20:07
@mofojed mofojed enabled auto-merge (squash) March 27, 2024 13:49
@mofojed mofojed merged commit d795c8d into main Mar 27, 2024
13 checks passed
@mofojed mofojed deleted the documentation branch March 27, 2024 13:53
@AkshatJawne AkshatJawne mentioned this pull request Jul 22, 2024
AkshatJawne added a commit that referenced this pull request Jul 30, 2024
Closes #649 

**Additional Info:**
- Did not include `validate` prop based off this comment on Text Field
PR:
#357 (comment)

Some of the snippets I had tested with:

```
from deephaven import ui

def test_on_change(new_value):
    print(f"Text changed to {new_value}")

t1 = ui.text_area()
t2 = ui.text_area(on_change=test_on_change)
t3 = ui.text_area(label="Test Label", label_position='side', flex_grow=1.0, flex_shrink=0.75)
t4 = ui.text_area(label="Test Label 2", is_required=True)
t5 = ui.text_area(is_disabled=True, is_hidden=False)
t6 = ui.text_area(is_hidden=True)
t7 = ui.text_area(auto_focus=True)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pydocs for text_field
3 participants