Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

devalto/SelectionField-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selection field example

Selection field allows to popup a window with a grid to select an element. When the element is selected, the window hides and then the value of the element goes back in the field with it's id.

Problem

The current code doesn't work well with an editable grid.

When the user clicks in the window that is shown when the trigger is clicked, it blurs the SelectionField behind.

In an editable grid, it stops listening for value change when the field is blured. So when the user choose a value, the code push it to the field but the grid doesn't catch it and put it in the corresponding record.

We had to override the validateBlur function to prevent the field to blur when the window is visible. But we cannot make it to blur when the window closes.

That's where we are now ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published