spicywebau / craft-quick-field

Create Craft CMS fields on the fly while designing field layouts
MIT License
106 stars 6 forks source link

Report form errors without losing filled out form #1

Closed benjamminf closed 8 years ago

benjamminf commented 8 years ago

If you try to save a field that contains errors in the form (invalid field handle, some required field not being filled out, etc) it will close the modal and report that something went wrong, but you'll lose everything you filled out.

It should report errors for individual fields without closing the modal.

benjamminf commented 8 years ago

It seems I didn't test this properly. It doesn't actually close the modal window, however the only error reported is "An unknown error has occurred"

benjamminf commented 8 years ago

(Close and comment and Comment buttons are a little too close together...)

benjamminf commented 8 years ago

This has been resolved for version 0.2.0