medienbaecker / kirby-link-field

29 stars 2 forks source link

Back button disabled #16

Closed hentrev closed 5 years ago

hentrev commented 5 years ago

The back button in the header of the field is disabled and not visible at all. The result is that it is impossible to go back in the page hierarchy when selecting an internal page.

Saw the issue while working on a client website. Could reproduce it myself with the kirby starterkit-master.

I can see the back button being disabled in the devtools so might be just an issue of configuration. Since I don't have any experience with the kirby UI-Kit, I cannot provide a pull request at the moment though.

hentrev commented 5 years ago

Hi @medienbaecker, did you have time to check the issue? Would be great. Best regards, Henrik

medienbaecker commented 5 years ago

@hentrev Sorry for the wait. Since Kirby added the conditional fields in 3.1.0, I personally used a simple select instead of this link field in my projects.

link-v2

Since it's possible to register blueprints in plugins, I published this in a v2 branch: https://github.com/medienbaecker/kirby-link-field/tree/v2

Please let me know if there's something missing. I think this way it's also a lot easier to customize the plugin.

hentrev commented 5 years ago

Thanks!

medienbaecker commented 5 years ago

@hentrev Did you test the version in the branch? I'm not sure if this simpler solution fits everyone.

hentrev commented 5 years ago

You're right, @medienbaecker. Doesn't work for me because I'm using the links within the kirby builder plugin (https://github.com/TimOetting/kirby-builder) which does not support the group field.