rspace-os / rspace-web

This the main repository for RSpace: rspace-web. Check https://github.com/rspace-os/rspace-web/blob/main/DevDocs/DeveloperNotes/GettingStarted/GettingStarted.md for setup instructions.
https://github.com/rspace-os/rspace-web/wiki
GNU Affero General Public License v3.0
15 stars 3 forks source link

RSDEV-375 Submit ELN's "Create from Template" dialog with enter #146

Closed rlamacraft closed 1 month ago

rlamacraft commented 1 month ago

The dialog is broken up into three separate forms:

  1. One for filtering the template picker
  2. One for typing in a name
  3. One for actually making the network call

This change wires up the submit event of the second to the third so that pressing the enter key after typing in a name for the template the network call is made and the user is redirected to their new document, just as if they had tapped the 'Create' button