mvysny / karibu-testing

Vaadin Server-Side Browserless Containerless Unit Testing
Apache License 2.0
105 stars 14 forks source link

Get fields inside grid editor #84

Closed hfazai closed 2 years ago

hfazai commented 2 years ago

After calling grid.editor._editItem, the editor fields should be visible and I can get them to edit the item values.

Now grid._get<TextField> or grid._find<TextField> doesn't find the fields. So this PR is to be able to get the field editors.

Actually there is another way to do that with grid._get<Grid.Column<*> and then call editorComponent. But grid._find<TextField> may be easier and more explicit.