vaadin / vaadin/framework

Setting column.isEditable to false in editor open listener is ignored

Open
#11,585 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement workaround
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Vaadin 8.8.1: when setting column.isEditable to false in editor open listener, the change is ignored and you can still edit the cell in question. Only after the editor is shifted to another row (e.g. when in unbuffered mode by pressing Tab repeatedly), then the edit component is hidden (but still focusable with the Tab key).
vaadin8-app.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached vaadin8-app.zip and reproduce the issue on Vaadin 8.8.1 using the editor open listener and column.isEditable setting. Trace the editor-opening behavior and verify that changing the column to non-editable immediately prevents editing and keyboard focus, without requiring the editor to move to another row.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.