Open avandijk opened 6 years ago
Eventually, but that's not my priority right now (read ... no time for it)
I'm busy trying to write full form example, but can't seem to get even something simple like updating textbox value to work... I do see values to load, but not change...
Here is what I do:
<DxTextBox Placeholder="First Name" Name="txtFirstName" ShowClearButton="true" Text="@FirstName" Disabled="@IsFormReadOnly"/>
<p>@FirstName</p>
`@functions { protected override void OnInit() {
}
public string FirstName { get; set; } = "";
public bool IsFormReadOnly { get; set; } = false;
void ChangeText()
{
FirstName = "John";
IsFormReadOnly = true;
StateHasChanged();
}
}`
...............................
so the value in p does change, but not in textbox... am I missing something?
So looking at code it seems properties are not two-way bindable at the moment... So you can not use Bind-Text="@FirstName". Am I correct?
This library look very interesting!!! Is it possible to provide more examples for f.e. datagrid, autocomplete etc.
That would be very helpful..
Thx!