You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BlockType(Name = "My stuff", Category = "My Category", Icon = "fas fa-fish", IsGeneric = true, ListTitle = "Title")]
public class MyStuffBlock : Block
{
public StringField Title { get; set; }
public TextField Body { get; set; }
[Field(Placeholder = "Select any product from the application")]
[ContentFieldSettings(Group = "Product")]
public ContentField Product { get; set; }
}
In the Manager you are allowed to select any content instead of just products.
The same code as Region works as expected.
using the vue developer plugin I have just noticed that when a content field is in my page region it has settings object with the property group correctly set but when the content field is in a block the settings object is null. Pics to follow
The text was updated successfully, but these errors were encountered:
Piranha v 9
Let's say you have a block like this:
In the Manager you are allowed to select any content instead of just products.
The same code as Region works as expected.
Additional info by @GangsterGeek89 :
The text was updated successfully, but these errors were encountered: