laminas-api-tools / api-tools-admin-ui

Laminas API Tools Admin UI module
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

Changing default version of the api - JS alert #8

Open weierophinney opened 4 years ago

weierophinney commented 4 years ago

As we noticed with @weierophinney after changing default version of the api, when we try to go somewhere else JS alert: "You will lose unsaved changes if you leave this page" is shown.

Default version of api is changed (saved).

Expected behavior: Alert shouldn't be shown in that case.


Originally posted by @michalbundyra at https://github.com/zfcampus/zf-apigility-admin-ui/issues/121

weierophinney commented 4 years ago

I've also noted this with other actions: saving changes to a service, saving filters or validators, etc.


Originally posted by @weierophinney at https://github.com/zfcampus/zf-apigility-admin-ui/issues/121#issuecomment-239672291