Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

New field creation when pressing enter #29

Open
SimonRTV opened this issue Feb 6, 2019 · 1 comment
Open

New field creation when pressing enter #29

SimonRTV opened this issue Feb 6, 2019 · 1 comment

Comments

@SimonRTV
Copy link

SimonRTV commented Feb 6, 2019

Hi,

when inserting text in a repeatable text input, if the "enter" key is pressed a new repeatable field will be created, which is nice, but unfortunately this behavior happens again when pressing the enter key on an unrelated text field (on the same Nova model, like a title field), which results in creating empty text fields and preventing the form submission.

I suggest removing this feature because it interferes with the normal form submission process and instead keep the permanent button "Add field" below a fields list.

Thank you for your work.

Simon

@fourstacks
Copy link
Owner

@SimonRTV thanks very much for reporting this. If I'm honest I don't recall shooting for the whole "input on enter" thing as a feature - pretty sure that wasn't by design!

I'll try and replicate this locally and see if I can come up with a fix. Will try and keep the same functionality within the field itself but without the more global side effects if possible. Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants