I have a page with with a simple form within it that it bound to my model's member class, I am getting the following error
NullReferenceException: Object reference not set to an instance of an object.
My page(shown below), works fine if I don't use Timelineinfos, but when I do reference it I get the error. So my question is: How should I initialize Timelineinfos?
<div class="row">
    <div class="col-7">
        <EditForm Model="test">
            <InputText @bind-Value="test.Timelineinfos.City"></InputText>
        </EditForm>
    </div>
</div>
@code {
    public testmodel test = new testmodel();
    public class testmodel
    {
        public string Name { get; set; }
        public Timelineinfo Timelineinfos { get; set; }
    };
}
 
    