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

Improve documentation on TextAreaInput #6264

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

ahuang11
Copy link
Contributor

@ahuang11 ahuang11 commented Jan 23, 2024

Closes #6246 (comment)

Added mention of default, an example, and enable readonly=True. Okay readonly doesn't initialize.

Unsure how to remove / disable resizable from the jslink side since it can't be set after it has been initialized.

I can't even find resizable on Bokeh's TextAreaInput:
https://github.com/bokeh/bokeh/blob/4b61612d14f840b990a74e455d49feb012badc12/bokehjs/src/lib/models/widgets/textarea_input.ts#L41

Only https://github.com/bokeh/bokeh/blob/4b61612d14f840b990a74e455d49feb012badc12/src/bokeh/models/layouts.py#L287-L289

But it works

Screen.Recording.2024-01-23.at.7.31.05.AM.mov

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c8f4e08) 82.68% compared to head (79b2fdb) 71.78%.
Report is 19 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6264       +/-   ##
===========================================
- Coverage   82.68%   71.78%   -10.90%     
===========================================
  Files         301      301               
  Lines       45099    45200      +101     
===========================================
- Hits        37288    32446     -4842     
- Misses       7811    12754     +4943     
Flag Coverage Δ
ui-tests ?
unitexamples-tests 71.78% <100.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@MarcSkovMadsen MarcSkovMadsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Thanks

@philippjfr philippjfr merged commit 269b433 into main Jan 24, 2024
14 of 15 checks passed
@philippjfr philippjfr deleted the document_text_area_input branch January 24, 2024 09:25
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.

Not clear from Reference Documentation how TextAreaInput.resizable works
4 participants