Creating add-on for Grid Editor

Is it possible to override this line using add-on?
https://github.com/vaadin/framework/blob/543a842e673f74b4053bcd22d1603bc3a84e6534/server/src/main/java/com/vaadin/ui/components/grid/EditorImpl.java#L134
EditorImpl.this.save();

I want to add a timeout before saving using save button in editor in order to preserve the DateField value with a resolution of month. It is saved when you click outside the month selection popup.

I want to add a timeout before saving using save button in editor in order to preserve the DateField value with a resolution of month.

That is interesting, are you aware of this issue with DateField, there is fix planned to be shipped in upcoming 8.9 version.

https://github.com/vaadin/framework/issues/11316

I.e. hopefully with that fix, the value change will be processed before click event of the save button of the editor.

Add-on can not create? Only do fork vaadin-framework? Or creation copy of two classes: grid and grid-editor?

By brief look, it looks like it is tricky. You do not need to necessarily for the framework. You could also copy-paste Grid classes (also clientside) as custom component and modify this specific part. It is just mechanical work.

But did you check the issue I linked, is that the root cause for your problem? If yes, you probably do not need to start this Grid effort.

Yes, it’s the root cause.

user vaadin:
Yes, it’s the root cause.

Are you sure about this?

user vaadin:
Yes, it’s the root cause.

In that case, there are good news for you, since there will be fix for this issue in 8.9.0. The fix is already merged, so it should be testable by using the latest 8.9-SNAPSHOT build.

https://github.com/vaadin/framework/issues/11316

It’s fixed in 8.9.0 version.