I have a control which has a DateAndTime.DateOnly property as a binding and after updating the PCF Tooling to the latest version I get an error from React when the output of the control is returned:
react-dom.production.min.js:117 Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args=Tue%20Jan%2001%202019%2001%3A00%3A00... for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at pb (http://127.0.0.1:8181/lib/react-dom.production.min.js:12:454)
at n (http://127.0.0.1:8181/lib/react-dom.production.min.js:13:221)
at Ac (http://127.0.0.1:8181/lib/react-dom.production.min.js:70:369)
at N (http://127.0.0.1:8181/lib/react-dom.production.min.js:89:471)
at hi (http://127.0.0.1:8181/lib/react-dom.production.min.js:105:408)
at Qg (http://127.0.0.1:8181/lib/react-dom.production.min.js:144:217)
at Rg (http://127.0.0.1:8181/lib/react-dom.production.min.js:145:76)
at Sc (http://127.0.0.1:8181/lib/react-dom.production.min.js:158:109)
at Z (http://127.0.0.1:8181/lib/react-dom.production.min.js:156:492)
at Kc (http://127.0.0.1:8181/lib/react-dom.production.min.js:155:52)
at ya (http://127.0.0.1:8181/lib/react-dom.production.min.js:153:159)
at Object.enqueueSetState (http://127.0.0.1:8181/lib/react-dom.production.min.js:202:409)
at t.setState (http://127.0.0.1:8181/lib/react.production.min.js:20:433)
at t.onOutputChange (http://127.0.0.1:8181/harness.js:11:278912)
With string outputs it works fine but seems something broke for Date output objects. Has anyone else encountered this issue and is there a solution?
@HansG -- can you clarify if this error happens when running the debug harness (the site you get when you run 'npm run start'), when hosted in a Model-Driven PowerApp/UCI App, or both?
@HansG Thanks for following up -- we're working on this issue now, and hope to have it fixed soon. If you run into this same issue when running your component in an actual app, please let us know.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.