You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class TestContentPart : ContentPart
{
public int? Minutes { get; set; }
}
Using a driver I have set the Minutes value to a number like 10. Everything works as expected. However, if I want to set it back to null after it was set to 10 the value will not allow setting null. because of this setting
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
Describe the bug
I created a custom part:
Using a driver I have set the
Minutes
value to a number like10
. Everything works as expected. However, if I want to set it back tonull
after it was set to10
the value will not allow setting null. because of this settingOrchardCore/src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs
Line 23 in 3fe9612
Orchard Core version
main
To Reproduce
Steps to reproduce the behavior:
Using the following test
The text was updated successfully, but these errors were encountered: