Giter VIP home page Giter VIP logo

umbraco-nested-content's People

Contributors

leekelleher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

umbraco-nested-content's Issues

Multiple DocType Support

This isn't an issue, just an enhancement. I was thinking. like ArchType allows. You could choose multiple DocTypes within the Nested content. Then when you click the plus button it gives you the option to select which DocType to create (Inc showing the icon).

Then you could have a list of multiple different types....

Add some preventative measures to prevent breakages

Initially NC was built to store a doc types guid, which was as a means to prevent breakages should someone decide to rename a doc types alias. With the recent change to storing the alias instead, it's now a bit more prone to breakages.

Given we have made sure to prefix the fields that hold the doc type / tab aliases, I wonder if we shouldn't try and add some preventative measures to try and fix things as changes are made, ie, if someone changes the name of a doc type, do a quick search and replace in the database for "ncContentTypeAlias: 'OldAliasName'" and fix the changed entry doing something similar with the tab alias.

This could be done quite easily in the database, but I guess we also need to consider updating the lucene index, as well as the xml content cache.

There is also the question of how far we go, ie, do we also try and detect property alias changes as well?

Programatically add values to Nested Content

Is there some way to programmatically add values to a Nested Content property type on a node?

I believe I am supposed to save JSON to the VALUE variable, but I'm not sure out to do this:

var test = ContentService.CreateContent("Test", parentId, "testAlias");

test.SetValue("nestedContentProperty", VALUE);

ContentService.SaveAndPublishWithStatus(test);

Is there some namespace that I can access the DetachedPublishedContent from? Maybe I could use that model to create the data. Thanks for any help.

Single Item Mode causes breakage?

If we have existing code using a nested content datatype such as Model.Content.GetPropertyValue<IEnumerable<IPublishedContent>>("PropertyName");

Then...down the road - someone changes the min/max from 0/3 to 1/1 - it seems the existing code breaks until someone change the above to
Model.Content.GetPropertyValue<IPublishedContent>("PropertyName");

Or am I missing something? This seems like a dangerous "feature". Can we fix this? Or am I just using this wrong?

PropertyValueConverter and Umbraco 7.4 ModelsBuilder

Just starting a new project on Umbraco 7.4 and using the now built in ModelsBuilder. It seems to interact nicely with property value converters in most cases (some of my own and the Core Property Value Converters module) but after adding in a Nested content property the model builder only typed the property as "object" rather than expected "IEnumerable"

Not a show stopper but would be great if they worked together to build a strong typed model.

Thanks

Content editors not displayed on document type editor for nested content property

Before i start - LOVE this package from what i've seen until it broke! Great job!!! :)

My issue is its stopped working...

What i did:

I added the package via NuGet and created a test doctype called InfoBlock containing:

Textstring
MultilineText
ImageCropper
ContentPicker

Then added the data type Info Blocks and linked to InfoBlock
Added a property to a page and set to InfoBlocks type

On going to the content node (was an existing page): All the properties rendered ok and allowed entering of content

When i output the content in a web page the ImageCropper didn't contain the src property but did have the coordinates for the focus point.

I wondered if an issue with 7.3 umbraco so I created an image cropper property on its own (rather than nested type ) and that renders out fine so appeared to be an issue with Nested Content.

I then went to create some new types for nested content and now nothing will display in the property pages for nested content when editing a content node.

I even started a fresh with a rollback of the db but im not getting anything. All i get is the add button and the label for Item 1 - and no properties.

Not sure whats gone wrong.

Any ideas?

Thanks
Damian

Nested Content on more than one Tab

HI!
I have created different nested data types with different doc types (Banner, Links, on so on...). On the home doc type I want to have each on a separated tab BUT the first one is working as expected and all the others have only an empty "Item 1"... any idea what I do wrong?

ps:
I used the vorto package for the multilingual stuff, but I think this shold not be a problem...

Archiving the project

Once Umbraco releases with a native Nested Content, (currently scheduled for Umbraco v7.6.0), we will start to archive this project.

The source-code will still be available on GitHub, but there will be no new major/minor package releases. We will support the current package release with bug-fix patches (including community pull-requests).

For future feature-requests, these would need to be made on the Umbraco issue tracker for the Umbraco Core team to review.


This is an open issue, if you have a different viewpoint, we're happy to discuss further.

NuGet package does not work with doctypes using compositions

I have an Umbraco project in which i have installed NestedContent via NuGet.

When using a doctype that has been created using a composition, the composition values are not saved on publish. After looking through your closed issues i noticed that this has been fixed in the repo, but it appears that NuGet version does not include the change. I pulled down the repo and did a manual build, then switched out the dll and that solved the problem.

I'm not sure if you're waiting for your 0.3.0 release to amend this. If so, shall i create a PR to update the Known Issues part of your doc to include the problem, and temporary solution?

Cheers, and keep up the awesome work.

Problems calling GetPropertyValue recursively on an empty property which previously had a value

See this forum post where the issue was originally posted

If a value is set and subsequently removed when the node is then published it adds an empty cdata section in the cache file e.g.

<headerSlides><![CDATA[[]]]></headerSlides>

Unfortunately this means that recursive property lookups like this:

Model.GetPropertyValue<IEnumerable<IPublishedContent>>("headerSlides", true)

...result in the lookup stopping on the node with the now empty cdata section and not continuing up the tree until it really does find a node with a value on that property.

Pull request to follow.

Validation of Nested Content in Nested Content

Hello Lee,

I'm using Nested Content in Nested Content wich works awful! The only problem is the validation doesn't work in the Nested Content I use in another Nested Content.

I've got a property on a content doctype from datatype Nested Content (file nested_content_blocks.png and Nested_blocks_datatype.png) as blocks.

One of the blocks uses another Nested Content inside that item (nested_blocks_doctype_property.png) where the title, intro and url are checked as mandatory in the doctype (Nested_Content_mandatory_fields.png) but I can save it without any mandatory errors.

The main Nested Content validation works fine (Main_nested_content_validation.png), but the validation of the Nested Content in Nested Content wouldn't be shown (validation_of_nested_Content_in_nested_content).

Hopefully it's a little bit clear for you?
Do you have any idea why this won't work?

I've added some screenshots for explanation.

nested_content_overview_image_item
nested_content_overview_image_datatype
nested_blocks_datatype
nested_content_in_nested_content_item
nested_content_in_nested_content
nested_blocks_doctype_property
nested_content_blocks
nested_content_mandatory_fields
main_nested_content_validation
validation_of_nested_content_in_nested_content

Mandatory fields

No validation for any field. It would be nice to have the validation on the save event.

Sort order in Multiple Media Picker is not saved

I added a document type with a Multiple Media Picker to Nested Content (for a gallery). Normally, you can drag images around in the Multiple Media Picker property editor to change the order. This works fine in Nested Content as well, but the sort order is never saved. Hit Save and Publish and then reload the page. The images are back in the order they started in.

Label template niceness

It would be great to be able to specify a fallback for the label when the label template resolves to an empty (or whitespace-only) string.

(Or I may not be sufficiently Angular-skilled to have figured it out yet :-)

Back Office Hangs After Install Umbraco 7.2.8

Hello,

Your package looks to be just what I need!

However, with a fresh install of Umbraco 7.2.8 (tried with built-in package installer and also with Nuget).

After the install, umbraco back office hangs. I can still navigate the website, but I cannot log into the back office. I think this is something in one of the Angular files that's causing the problem. The back office works again when I delete the NestedContent folder from the App_Plugins folder.

I've noticed...
the "nestedcontent.services.js" file is empty
in the "nestedcontent.resources.js" file specifies a url "/umbraco/backoffice/NestedContent/NestedContentApi/GetContentTypes" which does not exist. I've checked the file structure of umbraco and there is no "/umbraco/backoffice/" directory.

I'm running VS 2013 Web and have installed Umbraco through Nuget.

Sorry if this doesn't help. Please tell me what to check. Happy to help!

Kind regards,
Daniel

Close button / link for the "Choose type of content" pop up

Was wondering if someone had added in a close link / button to the pop up after we've clicked on the (+) button.

As currently if i've accidently clicked on the (+) button. I need to select something to be rendered and then delete them after that.

Firefox unable to edit text string fields in a nested content

From the forum...

I'm having an issue with Firefox where the nested content item's Textstring fields don't allow any focus or editing in the browser. I can use content or media pickers, but the textstrings are un-editable.

Anyone else experiencing this?

I can edit in Chrome just fine.

https://our.umbraco.org/projects/backoffice-extensions/nested-content/nested-content-feedback/66853-firefox-unable-to-edit-text-string-fields-in-a-nested-content

Make DetachedPublishedContent public

Currently DetachedPublishedContent is internal. I'm trying to see if I can register DetachedPublishedContent into the PublishedContentModelFactory for the Models Builder, but currently I can't do that.

Maybe use the same class for NestedContent and the Doc Type Grid Editor?

Does not work with Media Types while using as compositions

If i create a nested content doc type and can add it to a media type in a standard tab/property. No problem. However I have a nested content i want to include in 7 different media types - so i wanted to include it as a composition.

But if I include that composition with the same NC property which worked fine as a standard property, the media types do not display . The getchildren of the containing folder call returns:

)]}',
{"Message":"An error has occurred.","ExceptionMessage":"Object reference not set to an instance of an object.","ExceptionType":"System.NullReferenceException","StackTrace":" at Umbraco.Web.WebApi.Filters.DisableBrowserCacheAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)\r\n at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"}

Unable to edit items after switching to MyGet package.

When ever I click the + button I get the following error.

:10002/umbraco/lib/angular/1.1.5/angular.min.js?cdv=1188176083:63 TypeError: Cannot set property 'id' of undefined
    at initNode (:10002/App_Plugins/NestedContent/Js/nestedcontent.controllers.js?cdv=1188176083:286)
    at Object.$scope.addNode (:10002/App_Plugins/NestedContent/Js/nestedcontent.controllers.js?cdv=1188176083:84)
    at :10002/umbraco/lib/angular/1.1.5/angular.min.js?cdv=1188176083:74
    at :10002/umbraco/lib/angular/1.1.5/angular-mobile.js?cdv=1188176083:270
    at Object.e.$eval (:10002/umbraco/lib/angular/1.1.5/angular.min.js?cdv=1188176083:92)
    at Object.e.$apply (:10002/umbraco/lib/angular/1.1.5/angular.min.js?cdv=1188176083:92)
    at HTMLAnchorElement.<anonymous> (:10002/umbraco/lib/angular/1.1.5/angular-mobile.js?cdv=1188176083:269)
    at HTMLAnchorElement.x.event.dispatch (:10002/umbraco/lib/jquery/jquery.min.js?cdv=1188176083:5)
    at HTMLAnchorElement.y.handle (:10002/umbraco/lib/jquery/jquery.min.js?cdv=1188176083:5)

It was working with the Umbraco package but not when switched over to MyGet

Saving Macro Container properties to Nested Content doesn't always work

Scenario:
I have a Document Type with a Macro Container on it as well as a Textbox (for the title of the content) that I'm using as a Nested Content template. If I try to associate the macro and then enter a string in the textbox, the macro will be correctly captured as part of the data.

However, if I fill in all the other details and then select the macro right before saving, the macro is not saved, and if I don't touch any of the other fields the macro will never be captured.

Reason:
The MacroContainer does not assign the macro details back to the model.value until the formSubmitting event has been received:
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/propertyeditors/macrocontainer/macrocontainer.controller.js#L88-L95

    var unsubscribe = $scope.$on("formSubmitting", function (ev, args) {    
        var syntax = [];
        angular.forEach($scope.renderModel, function(value, key){
            syntax.push(value.syntax);
        });

        $scope.model.value = syntax.join("");
    });

This means that the macro isn't updated until after we've saved the NestedContent value
I also tried fixing this by adding in the same sort of unsubscribe handler to try and capture the macro value on formSubmit, but that didn't work because of the sequence the event handlers are triggered in.

In a nutshell: The only way that a macro container will save the macro in a NestedContent property is this:

  1. Macro is selected
  2. User Saves (or Save and Publishes) the document type (triggering the save back to the model value)
  3. User then goes to another property (doesn't matter which node) like a textbox (this triggers the $watch on the nodes, which then rebuilds the full NestedContent model.value)
  4. User Saves or Saves and Publishes a second time.

I've spent 5 hours trying to get the NestedContent property to postpone the model.value building until after the MacroContainer has a change to save it's property values properly with no luck. I now know a lot more about $broadcast and $on than I did 6 hours ago.

Support multiple doctypes

Heya,

Lovely package. Would you consider having it support multiple doctypes? I have a working implementation of multiple doctypes that I can push as a PR if you want it.

Regards,
Kenn

Localized titles for icon anchors

Hey guys, Not sure if you want this, but in Merchello I've now "borrowed" your icon styles in an attempts to keep unified with the back office and with some of the great property editors (like NC) out there.

In Merchello, I needed to add a few more that were not as obvious as edit, move and delete so I added localized titles to the anchor surrounding the icon (i). I've updated my fork of Nested Content to include these for you to evaluate and decide whether or not you think it's a good idea.

Will submit a pull shortly.

.GetPropertyValue generic not working right after installing NC

Could your PropertyValueConverter be causing this problem?

To get an image from a Media Picker I use:
IPublishedContent image = Umbraco.TypedMedia(Model.Content.GetPropertyValue<int>("image"));

However, after installing NC v0.2 the inner statement:
Model.Content.GetPropertyValue<int>("image")
returns 0 and I must use:
IPublishedContent image = Model.Content.GetPropertyValue<IPublishedContent>("image");
or
Model.Content.GetPropertyValue("image")

I'm using Umb version 7.4.3 and I believe the native PropertyValueConverters were already installed by default and the change in behavior was not until I installed NC.

How do I get the "Parent" ?

Perhaps parent is not the correct term.
But I'd like to get a handle on the node in the tree where the content is edited.
I'm only nesting one level deep so that simplifies things.

I see this discussed in #7 and #8 and it looks like I should be able to find the value I want in the .Parent property as of version 0.2.0, But that gives null.

Here's how I get my nested content:

public static IEnumerable<IPublishedContent> GetPropertyAsContentCollection(this IPublishedContent node, string alias)
{
    var value = node.GetPropertyValue<IEnumerable<IPublishedContent>>(alias, null);
    return value ?? Enumerable.Empty<IPublishedContent>();
}

Not unique id's for input fields

It seems that the id's of the input fields not are unique enough.

E.g. I have a textbox with alias transportName, therefore it use id="transportName" and for="transportName" on the label.

But because it is used for each item in the list, it will only focus on the first "transport name" input. Furthermore it might be an issue if there actually was added a property to the node with alias transportName.

So make it more unique, e.g. something like:

nested-{{alias}}-{{$index}}

Map data when upgrading package to v. 0.2.0

I upgraded a site from Umbraco 7.2.4 to 7.4.1 ... afterwards I upgraded Nested Content package from v. 0.1.1 to v. 0.2.0, but due new changes to support multiple doc types, Nested Content doesn't map the data for the existing content and therefore no items in the editor, although umbraco.config has the old json.

Is it possible to map the old values for doc type, tab and name template for the new multi-items config?

At the moment I have to manually select the doc type in dropdown, an enter the values for tab and name template.

DropdownList Multiple is not holding the selected values

I am working with Nested Content, as per my requirement I need to have a dropdown list multiple , based on these values I have to populate the data. But for some reason, my dropdown list multiple in Nested Content is not holding the selected values. Could you please suggest me with regards to this issue.

Move, then modify RTE saves in wrong item

@mattbrailsford An issue was raised on the forum - Rich Text Editor (TinyMce) in NestedContent.

I am able to reproduce the bug, which only happens in a specific scenario.

Steps to reproduce

  1. Make a simple NC list with a single DocType (that contains an RTE property)
  2. Make 3 items/rows, (called A, B and C)
  3. Add some dummy content, save the node (property-value)
  4. Reload the content page
  5. Move the first item (A) to the bottom of the list, then...
    1. Expand item A
    2. Modify the RTE value
    3. Save the node (property-value)
  6. Reload the content page
  7. Notice that...
    1. Item A's RTE value has been reverted
    2. Item C contains the modified RTE value (from item A)

The key part seems to be when the RTE is modified after the item has been moved. If I modified the RTE value, then move it, all the items persist correctly.

Any ideas?

Argument reference per scaffold Item

Hi,
I have added a custom property on a document type and i need to load certain type of datas based on document type how can i achieve this on my custom property? its just a simple dropdown, i want to know what kind doctype alias and pass it to my web api Thanks

Umbraco 7.4 layout issues.

Hey guys. The editor works in Umbraco 7.4 however there have been some updates to the layout of the back office. When you have Nested content inside nested content it renders the add content button incorrectly. ;)

Awesome package but we miss the image cropper

hello

First of all I wanna thank you for making this awesome package! At the moment iI am developing a lot of website in umbraco which consist of blocks. Your nested content plugin comes in very handy because the blocks can now be added/edited on the page itself instead of in Media or a child content page.

I know there is currently no support for the image cropper functionality but I think this will be a great functionality! Unfortunately because of my lack of Angular knowledge I can't try to add it myself.
Now my question is: Is there a chance this functionality will//can be added on the short term?

I hope you guys can answer my question!

Min and max for the doctypes

Would it be possible to add min and max on the doctypes, so that a specific doctype cannot be created more than once.

In the attached screendump Shortcuts must and can only be applied once.
And Section must be applied once and can only be applied 3 times.

screen shot 2016-03-16 at 15 35 39

Support returning dynamic properties like DynamicPublishedContent

I love Umbraco's support of Dynamic because it simplifies readability of code from this:

@foreach (var class in Model.Content.GetPropertyValue<IEnumerable<IPublishedContent>>("classes"))
    {
        <li>@class.name @class.code @class.location</li>
    }

to this

    @foreach (var class in CurrentPage.classes)
    {
        <li>@class.name @class.code @class.location</li>
    }

Tab Alias Case-Sensitive?

It seems that if the tab-alias (entered in the DataType prevalues) is a different casing to the actual DocType's tab alias, then the DocType properties wont be loaded on the editor.

@bkclerke hit the issue when upgrading from v0.1.1 to v0.2.0 ...
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7//68066-upgrading-nested-content-package-and-items-disappear-in-umbraco-content-tree

@mattbrailsford Is the tab-alias check done in the JS? I found it in 2 places: controller and directives.

UI gets hidden at certain resolutions

Can't upload a screenshot due to doc type having sensitive content, but at a browser width of <~1210px down to ~1118px (when the left tree disappears) the nested items are being obscured and there is no horizontal scrollbar. The nest content type has two textstrings and a textarea (textstring multiple).

Same (less of an issue) with anything <~850px wide which makes it not tablet friendly (I think?).

It's nice that you can hide the label but then I also lose the helptext for the "parent property". Maybe have an option to stack the nested property under the label+helptext - understand that could make things a little cluttered though.

Awesome work.

Always returns True to IsPropertyDirty

I am trying to detect if any of the content has changed but it always responds "true" when I check using .IsPropertyDirty, even when none of the data within the nested content control has changed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.