Remix.run Logo
carlosjobim 5 hours ago

Apart from a chat interface, when should enter ever submit your text?

binarymax 5 hours ago | parent | next [-]

In a multiline text box, enter should NOT submit the form. Chat interfaces violate this rule and it results in lots of premature chat submissions.

owlstuffing 4 hours ago | parent [-]

Precisely. 'member CUA?

JoshTriplett 2 hours ago | parent | prev | next [-]

A single-line text box that has no possibility of multi-line text (so, not a chat interface), such as search, an address bar, something that's obviously "submit one item" (e.g. "submit a word"), etc.

layer8 4 hours ago | parent | prev | next [-]

In single-text-input contexts, like search fields and the browser address field, and things like Save As dialogs. It’s the general expectation for dialogs with an OK or default button, just like Escape cancels the dialog.

somehnguy 5 hours ago | parent | prev [-]

A search box, I think