Active
Project:
Album Photos
Version:
6.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 May 2021 at 14:56 UTC
Updated:
5 May 2021 at 14:56 UTC
Jump to comment: Most recent
When using the entity form on /node/*/photos we should be able to disable / hide the album id field and get the album node from the route. The problem is that it is still required on /photos/image/add.
We could use a form alter to automatically set it / hide it on /node/*/photos. Then we probably need to add some validation to make sure it is set when using the form on /photos/image/add.
The album node is set as the default value for album id on /node/*/photos so a workaround for now might be to hide it with css if needed.
Comments