BlazorDevExtreme icon indicating copy to clipboard operation
BlazorDevExtreme copied to clipboard

Examples

Open avandijk opened this issue 7 years ago • 3 comments

This library look very interesting!!! Is it possible to provide more examples for f.e. datagrid, autocomplete etc.

That would be very helpful..

Thx!

avandijk avatar Oct 18 '18 03:10 avandijk

Eventually, but that's not my priority right now (read ... no time for it)

MihaMarkic avatar Oct 25 '18 10:10 MihaMarkic

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?

wize1 avatar Dec 18 '18 08:12 wize1

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?

wize1 avatar Dec 18 '18 09:12 wize1