Grav-plugin-admin: Page default template are reset if validation fails

Created on 7 Apr 2018  路  8Comments  路  Source: getgrav/grav-plugin-admin

I have custom page blueprint, where i set taxonomy field to be required, however, when a user forgets to choose category, it throws an error and then template reverted to "default" instead the one i pointed in my blueprint, possibly it's a bug.

1.10 bug fixed in repo

All 8 comments

Are you providing the page blueprint in your theme or a plugin?

Page blueprint. Didn't tested with a plugin.

I am having the exact same issue right now. I also have the blueprint in the theme That is very confusing for the users.

I added a screen capture which shows the behaviour. If you need any more information just ask here. Would be great if this could be investigated. Thanks a lot!

deepin-screen-recorder_Select area_20200219104437

I found the screencast self-explanatory. _more info needed_?

+1. Any ideas here on how to fix this problem? :)

This has been fixed in Grav 1.7 / Admin 1.10.

Do you have, by chance, any commit reference?

@drzraf Unfortunately no. I just tried to reproduce the issue as I remembered that I have fixed similar issue in Flex Pages admin.

Was this page helpful?
0 / 5 - 0 ratings