keystonejs / keystone-classic

Node.js CMS and web app framework
http://v4.keystonejs.com
MIT License
14.62k stars 2.21k forks source link

Fixes #4919: Saving a model before Relationship fields have fully loaded causes data loss #4978

Closed n-devr closed 4 years ago

n-devr commented 4 years ago

Description of changes

Enhances the 'Save' button on the admin UI to act as a loading indicator while Relationship fields are populated and prevents the user from saving the model until all Relationship fields have completed loading.

Related issues (if any)

4919

Testing

n-devr commented 4 years ago

Thanks @autoboxer - happy to help! Please let me know if there's any additional steps I should take to help get this merged.