Here is a copy of the component that i built for my form this is the component named "DataTextField"
@inherits EagleCS.ComponentClasses.DataInputTextBase<
string
>
<
div
class
=
"form-group"
>
<
label
class
=
"h6"
>@(TextLabel): </
label
>
<
TelerikTextBox
@
bind-Value
=
"@Value"
></
TelerikTextBox
>
<
ValidationMessage
For
=
"@ValueExpression"
></
ValidationMessage
>
</
div
>
Here it is inside an EditForm
<
DataAnnotationsValidator
/>
<
DataTextField
TextLabel
=
"Name"
@
bind-Value
=
"screenModel.Name"
/>
When I click submit for the form even with a value inside it blanks out the text field
and then set the field to be empty.