Skip to content

null value resulting from MaterialTextBoxEdit in automatically generated designer code #185

@RandallOfLegend

Description

@RandallOfLegend

Bug explanation

I am running a Material template project. On one particular MaterialForm I have a MaterialTextBoxEdit that is constantly problematic. on the"Initialize Component" section of the windows forms designer the first lines are...

private void InitializeComponent()
{
            ReaLTaiizor.Controls.MaterialTextBoxEdit TextBox_TermValue;

This triggers "TextBox_TermValue" to become null. I have only seen it on this particular MaterialTextBoxEdit , and there are several on the form. But I haven't been able to find a root cause why this one box out of 6 is having trouble.

Currently it's captured by a Visual Studio Warning (CS0649) which I have made an explicit error in my project so it won't build. Removing that first line of designer code fixes my null issue until I change something in the visual designer forcing a "windows forms designer" code regeneration.

I am going to make a stripped down version of my C# project to see if I can get minimum reproducible code.

Version

3.8.0.7

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions