Skip to content

Fix NullReferenceException when [HideIf] compares a field's value with null when the field's value is actually null#10

Open
forestrf wants to merge 1 commit intogasgiant:mainfrom
forestrf:patch-1
Open

Fix NullReferenceException when [HideIf] compares a field's value with null when the field's value is actually null#10
forestrf wants to merge 1 commit intogasgiant:mainfrom
forestrf:patch-1

Conversation

@forestrf
Copy link

@forestrf forestrf commented Jul 7, 2022

I encountered this bug when both value and memberValue were null. This is the fix I made.

@forestrf forestrf changed the title Fix NullReferenceException when a [HideIf] compares a field to null when the field itself is null Fix NullReferenceException when [HideIf] compares a field's value with null when the field's value is actually null Jul 7, 2022
@gasgiant
Copy link
Owner

gasgiant commented Jul 7, 2022

Thanks! I'll add it in the next patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments