Skip to content

fix: tooltip in tbl new approach#2880

Merged
lucafoscili merged 1 commit into
developfrom
fix/tooltip-in-inp-tbl-new-approach
Jul 3, 2026
Merged

fix: tooltip in tbl new approach#2880
lucafoscili merged 1 commit into
developfrom
fix/tooltip-in-inp-tbl-new-approach

Conversation

@zammarchi-smeup

Copy link
Copy Markdown
Collaborator

This PR solves the issue for a tooltip in an input panel TBL cell

The approach is simplier and more correct than the previous attempt, that broke webupjs build

Tests on the INP and the Tooltip on webupjs pass correctly with these changes

The logic here leverages the props of the event emitted by the datatable, since it contains the cell.

When at line 2314 the cell is not found in the rows of the input panel (it will never happen since the column passed is a column of the data table and not of the INP) the cell passed in the props of the event is used, cell corresponding to the right clicked cell of the data table.

When the TBL is used inside an input panel (InputLegacy) the columns of the INP and the TBL will ALWAYS have different names, because otherwise the rpg code would not compile

@lucafoscili lucafoscili merged commit ace5a5f into develop Jul 3, 2026
1 check passed
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.

2 participants