dfaruque / Serenity.Extra

Name of the repo says that this is an EXTRA of http://serenity.is platform
60 stars 34 forks source link

GridItemPicker InplaceSearch open dialog on enter key event #52

Closed reach2rv closed 3 years ago

reach2rv commented 3 years ago

Hi @dfaruque

I am able to make inplace search on GridItemPicker Editor keyboard focusable by adding attribute tabindex= 0. how I can achieve onclick using the enter key? this can make the button keyboard accessible for the end-user making system keyboard friendly

reach2rv commented 3 years ago

Resolved..

Will post code soon.

@dfaruque I am facing warning no single or multiple option is selected. Whereas I am assigning Multiple= false in Row for GridItemeditor attribute. What am I doing wrong?

dfaruque commented 3 years ago

in the grid constructor, put a second parameter

        constructor(container: JQuery, options) {
            super(container, options);

        }
reach2rv commented 3 years ago

@dfaruque last one how to make textbox of GridItemeditor editable ?

dfaruque commented 3 years ago

currently, the textbox is not editable. need to develop this feature

reach2rv commented 3 years ago

It is a good feature to have as user can enter value known to him Instead of opening select dialog and rest can be handled in changeselect2 for the text box