i get the error:
Compiler Error Message: CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance definition for 'GetEnumerator'
Hey, there is an issue with the latest version of ModelsBuilder not honoring the property value converter and returning an object, rather than the strongly typed model.
This happened somewhere after version 8.0.2. of Umbraco, so my starter kit and property editors are not working on version 8.1+
If anyone has any ideas how to fix this? I also noticed it with other custom property editors (not my own).
Font awesome links package
Hi all
Has anybody got a snippet for rendering output from the "U8 font awesome links" package? There's not a lot of doc.
https://our.umbraco.com/packages/backoffice-extensions/u8-font-awesome-links/
I sniffed out some from the Bulma starter kit, but cant get it to work...
i get the error: Compiler Error Message: CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance definition for 'GetEnumerator'
Untested, but you might just need: Model.Value<>
thanks, but returns CS0305: Using the generic method group 'Value' requires 1 type arguments
Sorry, edited my post...
How about this?
Well... to check if it even iterates i did:
and got: System.NullReferenceException: Object reference not set to an instance of an object.
If i do just @Model.Value("social") i get raw JSON, like:
I moved on to another package as i couldnt get this to work.
Hey, there is an issue with the latest version of ModelsBuilder not honoring the property value converter and returning an object, rather than the strongly typed model.
This happened somewhere after version 8.0.2. of Umbraco, so my starter kit and property editors are not working on version 8.1+
If anyone has any ideas how to fix this? I also noticed it with other custom property editors (not my own).
is working on a reply...