November Happy Hour will be moved to Thursday December 5th.

On enter click inside custom dojo widget floating wrapper

Vote:
 

Hello!

 

I have problems with creating a  custom editor descriptor using dojo widget.

 

I want the user to be able to press Enter in textbox to perform an search. But the problem is that the dialog closes before the

OnSubmit event Is reached when the view is in on-page edit.

 

How can I prevent the dialog(uiWrapperType.Floating) from closing? (it works in all properties view but not in on page edit)

 

Code I’m using:

  postCreate: function () {

     var self = this;

 

          on(self.searchPeopleForm, "Submit", function (e) {

            e.preventDefault();

 

            self._onSearchPersonsClick(event);

          });

}

 

 

     

Search person (double click to select)

     

     

     

 

 

#199173
Nov 19, 2018 12:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.