ExpressionEngine / ExpressionEngine

ExpressionEngine is a flexible, feature-rich, free open-source content management platform that empowers hundreds of thousands of individuals and organizations around the world to easily manage their web site.
https://expressionengine.com
Other
458 stars 125 forks source link

Front End Edit - empty fields not displaying #3616

Closed ic360-com closed 1 year ago

ic360-com commented 1 year ago

I've noticed that empty Entry fields, aren't displaying the Edit icon, in the Front End Edit mode. This seems to apply to auto-displayed Edit icons, as well as manually added ones using the {if frontedit} markup.

EE 7.3.6 PHP 8.1

In this example, Stock does have a value, but the Storage field is empty.

{if frontedit}
    <div>
        Stock: {product-stock:frontedit}
        Storage: {product-stock-storage:frontedit}
    </div>
{/if}

Screenshot 2023-07-19 at 17 17 33

intoeetive commented 1 year ago

This is know limitation which we are not likely to change - however I'll move this to Feature Requests.

If you need to be sure the link is present, you can place it manually in the template: https://docs.expressionengine.com/latest/advanced-usage/front-end/frontend.html#customizing-the-link-location