Giter VIP home page Giter VIP logo

Comments (3)

nCastle1 avatar nCastle1 commented on June 12, 2024

This is a UWP bug: https://stackoverflow.com/questions/39775527/calendardatepicker-binding-null-value

Changing to x:Bind causes all sorts of problems, so marking this blocked.

from data-collection-dotnet.

nCastle1 avatar nCastle1 commented on June 12, 2024

Looking into the x:Bind problems, it appears related to the following flow:

  1. User presses 'save', which closes the editing session on the popup manager
  2. Relationships are updated; each call to arcgisFeature.RelateFeature causes the feature's properties to be updated
  3. Refreshing the properties changes the value (presumably raising PCE)
  4. CalendarDatePicker, with x:Bind, gets the new (old) value, and raises a DateChanged event
  5. The CalendarDatePicker's value update is rejected by the popup manager, because the editing session is closed

Using regular binding does not have this issue, perhaps it is checking to ensure the value is actually changed before raising PCE while x:Bind does not?

My next step is to try using the winUI controls; maybe they've improved the date changed behavior. WinUI controls don't have a date picker

from data-collection-dotnet.

nCastle1 avatar nCastle1 commented on June 12, 2024

PR

from data-collection-dotnet.

Related Issues (20)

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.