Bind input widget to button to activate action when pressing enter

Working on it
expected delivery in Q4 2019

Right now only one button can be set to default, meaning it will be activated when pressing 'enter'. I've encountered to have multiple buttons on the same screen for which I would like to see this kind of behaviour.

Examples when I encountered this is when having buttons inside of IF widgets, or when having a button inside a modal. 

It would be nice if we could bind a button to an input widget (maybe this could be applied for other widgets as well). This would result in the button's action to be activated when the focus is on the input widget and 'enter' is pressed.

Created on 29 Aug (3 weeks ago)
Comments (2)

Changed the category to Frontend

Changed the status to
Working on it
expected delivery in Q4 2019

Hi Sam,

That's a great idea. 

In fact we're working on the next generation of web applications. In those you'll be able to have a different default button for each form you have on the screen. So if, for instance, you have a global search and a form, or a login form and a register form, in the same screen, the button that will be pressed when you click enter on a text input will be different. Expect more news about this soon.

As a workaround, for now, I think you can use different web blocks and each one of those can have a default button.

Thanks for your idea,
Tiago Simões