h2oai / h2oai/wave

Text in multiselect table cannot be selected

Open
#1,794 2 comments 0 reactions 0 assignees View on GitHub
feature needs upstream fix ui
Dominant language
Python
Stars
4.3k
Forks
371
Avg merge
26d 1h
Merged PRs (30d)
1

Description

#### Wave SDK Version, OS

0.24.2

#### Actual behavior

Table cell text is not selectable via mouse like any other regular text.

#### Expected behavior

The text should be selectable so that users can copy the text via cmd + C.

#### Steps To Reproduce

```py
@app('/demo')
async def serve(q: Q):
q.page['example'] = ui.form_card(box='1 1 3 3', items=[
ui.table(
name='table',
columns=[
ui.table_column(name='name', label='Name'),
ui.table_column(name='surname', label='Surname'),
],
rows=[
ui.table_row(name='row1', cells=['John', 'Doe']),
ui.table_row(name='row2', cells=['Alice', 'Smith']),
ui.table_row(name='row3', cells=['Bob', 'Adams']),
],
multiple=True,
)
])

await q.page.save()
```

Contributor guide

Open the contributing guide

Research direction

Start by running the supplied Python reproduction at the /demo entry point and inspect the ui.table configured with multiple=True. No source file or test is named in the issue. Done means text in multiselect table cells can be selected with the mouse and copied with cmd+C.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.