mattbrailsford / umbraco-fluidity

A fluent CRUD user interface generator for Umbraco
https://our.umbraco.org/projects/backoffice-extensions/fluidity/
Apache License 2.0
48 stars 40 forks source link

Content picker as field editor #110

Closed kasperskov909 closed 5 years ago

kasperskov909 commented 5 years ago

Hi Matt Is Fluidity expected to work with the content picker as an editor for a field? I can't get it to work. tabConfig.AddField(p => p.ClubId).SetLabel("Club").SetDataType("Content picker");

image

As you can see the editor is rendered, but the specific node is not picked and displayed even though the node ID is correct. Am I missing something, or should this be considered a bug?

kasperskov909 commented 5 years ago

Right so it's the Umbraco.ContentPicker2 that's bugging me. The old one Umbraco.ContentPickerAlias works just fine. Perhaps this is a project specific issue or perhaps even a Umbraco issue... What's your thoughts?

kasperskov909 commented 5 years ago

Solution was just to create a datatype instance of type content picker.