1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat(UI): context menu for input and textarea tags

This commit is contained in:
2021-02-21 21:24:25 +01:00
parent 9a1bf32128
commit b54fefbf25
4 changed files with 83 additions and 34 deletions

View File

@ -324,6 +324,8 @@ export default {
this.selectedRows = [row];
},
contextMenu (event, cell) {
if (event.target.localName === 'input') return;
this.selectedCell = cell;
if (!this.selectedRows.includes(cell.id))
this.selectedRows = [cell.id];