Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #671: MatChipSet.SelectedChips should match on Label, not MatCh… #672

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
16ee37b
Update README.md
rokx Jun 17, 2020
c47d46b
add deploy script + dockerfile
stefanloerwald Jul 25, 2020
137de5a
Update README.md
stefanloerwald Jul 25, 2020
1da0ddd
Merge pull request #657 from stefanloerwald/deploy-static-assets-with…
lindespang Jul 25, 2020
e76bc47
fix for checkbox - Indeterminate state must be unset in MDC when bool…
victorlindespangcab Jul 30, 2020
d2404b4
add support for Immediate on MatSlider: makes changes to the slider p…
Jul 31, 2020
389fa0e
Added Width property for changing size of Drawer
redradist Jul 31, 2020
8ac08c2
check PR: Simplify deploying js/css #657 (Thanks to [stefanloerwald](…
SamProf Aug 2, 2020
d28cf1d
Merge pull request #610 from rokx/patch-1
SamProf Aug 2, 2020
ab4351d
check PR: Update README.md (Mentioned that internet access is require…
SamProf Aug 2, 2020
b5d2e24
Merge branch 'develop' of https://github.com/SamProf/MatBlazor into d…
SamProf Aug 2, 2020
a8c89e6
Merge pull request #664 from SamProf/lindespang/checkboxfix
SamProf Aug 2, 2020
894a176
check - PR: Checkbox indeterminate state fixes (Thanks to [lindespang…
SamProf Aug 2, 2020
034349d
Merge branch 'immediate-slider' of https://github.com/stefanloerwald/…
SamProf Aug 2, 2020
c32b391
Merge branch 'stefanloerwald-immediate-slider' into develop
SamProf Aug 2, 2020
b5357aa
check - PR: MatSlider Immediate #665 (Thanks to [stefanloerwald](http…
SamProf Aug 2, 2020
a2ac799
Update generated content
SamProf Aug 2, 2020
637bdbe
change version of package
SamProf Aug 2, 2020
0d0d612
- Update MDC Web to 7.0.0
SamProf Aug 2, 2020
dade4b6
Added postfix Old to old MatDataTable component
SamProf Aug 2, 2020
782018a
new MatDataTable inital implementation
SamProf Aug 2, 2020
efc9589
Replaced implementation of custom width to scss
redradist Aug 2, 2020
d0ad0aa
Merge pull request #8 from SamProf/develop
stefanloerwald Aug 3, 2020
6208e44
Update MatTable.razor
akovac35 Aug 3, 2020
edfe284
implemented FullWidth on MatSelect. Note that this required removing …
Aug 4, 2020
ee7d435
Issue #671: MatChipSet.SelectedChips should match on Label, not MatCh…
Aug 4, 2020
4d0babe
code cleanup
Aug 5, 2020
07b0bcb
code cleanup
Aug 5, 2020
1d608d2
Update BaseMatSlider.cs
stefanloerwald Aug 6, 2020
2e619bf
Merge pull request #673 from stefanloerwald/cleanup
lindespang Aug 6, 2020
00f2dc5
Fix part of #659
stefanloerwald Aug 7, 2020
36606ce
Responsive menu on Demo page, icons change to menu on smaller screens.
Aug 12, 2020
f035f55
Changed sex to gender in radiobutton demo
Aug 12, 2020
52d4bfa
Changed sex to gender in editcontext demo
Aug 12, 2020
dc648ad
Spaces in folder name's break DemoContentGenerator.Generate()
Aug 12, 2020
1d615ca
Merge pull request #670 from stefanloerwald/select-fullwidth-impl
lindespang Aug 18, 2020
28e7147
Moved key to table row to prevent re-render of whole row.
Aug 19, 2020
08ffd2b
Finally tested and fixed all issue with displaying Drawer
redradist Aug 20, 2020
f0957f6
Reverted .csproj
redradist Aug 20, 2020
b285795
Reverted .csproj again )
redradist Aug 20, 2020
2e4cb29
Merge branch 'develop' of https://github.com/SamProf/MatBlazor into f…
redradist Aug 20, 2020
e60dbf9
Merge pull request #666 from redradist/feature/add-width/property
enkodellc Sep 2, 2020
54f04fa
Custom Drawer Width Demo. Readme contribution updates
enkodellc Sep 2, 2020
e862d60
Merge pull request #701 from enkodellc/develop
enkodellc Sep 2, 2020
d8b77ee
Update README.md
enkodellc Sep 2, 2020
e495827
PR #642. Fixes #619 Validation styles for outlined Text fields
enkodellc Sep 2, 2020
3017dbf
Merge pull request #692 from erlendp/bugfix/table-render-fix
enkodellc Sep 2, 2020
854c8fb
Collaboration Tips
enkodellc Sep 2, 2020
94faa77
Remove event on Dispose instead of adding one
LeoVen Sep 3, 2020
453e487
check PR: MatSelect: FullWidth parameter #670 (Thanks to [stefanloerw…
SamProf Sep 5, 2020
024b0d1
Check
SamProf Sep 5, 2020
97dc4ad
Merge pull request #677 from stefanloerwald/patch-1
SamProf Sep 5, 2020
2cc4da3
check - PR: Fix part of issue with FullWidth MatTextField and Placeho…
SamProf Sep 5, 2020
b1f31b0
Merge branch 'ResponsiveMenu' of https://github.com/PA4WD/MatBlazor i…
SamProf Sep 5, 2020
36cbdfe
Merge branch 'PA4WD-ResponsiveMenu' into develop
SamProf Sep 5, 2020
3458e89
check - PR: Responsive menu on Demo page, icons change to menu on sma…
SamProf Sep 5, 2020
c89adc1
Merge pull request #685 from PA4WD/DemoGenerator_fix
SamProf Sep 5, 2020
c164be3
check - PR: Spaces in folder name's break DemoContentGenerator.Genera…
SamProf Sep 5, 2020
0fc4abd
Merge pull request #686 from PA4WD/Language-improvements
SamProf Sep 5, 2020
0304132
check - PR: Some language improvements #686 (Thanks to [PA4WD](https:…
SamProf Sep 5, 2020
f06405d
Merge pull request #702 from enkodellc/develop
SamProf Sep 5, 2020
ab0566b
Merge pull request #703 from LeoVen/master
SamProf Sep 5, 2020
f9f6ff1
check - PR: Fixes #619 Validation styles for outlined Text fields #70…
SamProf Sep 5, 2020
2a7931c
Merge branch 'develop' of https://github.com/SamProf/MatBlazor into d…
SamProf Sep 5, 2020
62d2293
Generate docs
SamProf Sep 5, 2020
9acfb05
one line logic
enkodellc Oct 8, 2020
11d6a3c
Merge pull request #668 from akovac35/akovac35-patch-1
enkodellc Oct 8, 2020
3605111
Issue #671: MatChipSet.SelectedChips should match on Label, not MatCh…
Aug 4, 2020
059947a
Merge remote-tracking branch 'origin/Issue#671_Fix_ChipSet_SelectedCh…
Oct 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 35 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Complete all Blazor dependencies.

- .NET Core 3.1
- Visual Studio 2019 with the ASP.NET and web development workload selected.
- Requires access to internet for CSS download

## Installation

Expand Down Expand Up @@ -111,13 +112,21 @@ If you think that this project helped you or your company in any way, you can co


## Contributing
We'd greatly appreciate any contribution you make. :)
We'd greatly appreciate any contribution you make. :)
Also we have official [Contributors team](https://github.com/SamProf/MatBlazor/issues/474):
- [SamProf](https://github.com/SamProf) - creator
- [enkodellc](https://github.com/enkodellc)
- [lindespang](https://github.com/lindespang)
- [RonPeters](https://github.com/RonPeters)

### Contributing Tips

- Submit all PR's against the 'develop' branch. This is where all PR's are tested by collaborators before being reviewed and merged into the 'master' branch.
- Please do not include the compiled .js / .css in your PR's. These are autogenerated during builds and get rewritten.
- For PR's with UI updates please take a few minutes to review the Demo component for the changes and add the new
functionality in Demo for the component you are editing. Not only will this allow for easier testing / merging of your PR
it will give others an opportunity to see the capabilities of MatBlazor.

## News

### Roadmap
Expand All @@ -128,7 +137,31 @@ Also we have official [Contributors team](https://github.com/SamProf/MatBlazor/i
- `MatAutocomplete` - new implementation of component


#### MatBlazor 2.6.1 (Develop)

#### MatBlazor 2.7.0
- Update MDC Web to 7.0.0 (SamProf)
- Changed DOM and JS for many components, because of changes in MDC Web 7.0.0 (SamProf)
- Fixed: Floating label in Outlined MatTextField-based components (SamProf)
- Fixed Validation via EditContext colors (SamProf)
- PR: Add Width property for Drawer #666 (Thanks to [redradist](https://github.com/redradist))
- PR: MatSelect: FullWidth parameter #670 (Thanks to [stefanloerwald](https://github.com/stefanloerwald))
- PR: Cleanup #673 (Thanks to [stefanloerwald](https://github.com/stefanloerwald))
- PR: Table Re-Rendering Fix #692 (Thanks to [erlendp](https://github.com/erlendp))
- PR: Custom Drawer Width Demo. Readme contribution updates #701
- PR: Fix part of issue with FullWidth MatTextField and Placeholder #677 (Thanks to [stefanloerwald](https://github.com/stefanloerwald))
- PR: Responsive menu on Demo page, icons change to menu on smaller screens. #684 (Thanks to [PA4WD](https://github.com/PA4WD))
- PR: Spaces in folder name's break DemoContentGenerator.Generate() #685 (Thanks to [PA4WD](https://github.com/PA4WD))
- PR: Some language improvements #686 (Thanks to [PA4WD](https://github.com/PA4WD))
- PR: Fixes #619 Validation styles for outlined Text fields #702 (Thanks to [enkodellc](https://github.com/enkodellc))
- PR: Remove event on Dispose instead of adding one #703 (Thanks to [LeoVen](https://github.com/LeoVen))

#### MatBlazor 2.6.3
- PR: Simplify deploying js/css #657 (Thanks to [stefanloerwald](https://github.com/stefanloerwald))
- PR: Update README.md (Mentioned that internet access is required in Prerequisites) #610 (Thanks to [rokx](https://github.com/rokx))
- PR: Checkbox indeterminate state fixes #664 (Thanks to [lindespang](https://github.com/lindespang))
- PR: MatSlider Immediate #665 (Thanks to [stefanloerwald](https://github.com/stefanloerwald))

#### MatBlazor 2.6.2
- PR: Update Slider to Add Pin & Markers #639 (Thanks to [enkodellc](https://github.com/enkodellc))
- PR: MatTable double click #629 (Thanks to [sebestyn168](https://github.com/sebestyn168))
- PR: Fix MatAutocomplete fails with tab and google autofill #614 (Thanks to [sebestyn168](https://github.com/sebestyn168))
Expand All @@ -148,7 +181,6 @@ Also we have official [Contributors team](https://github.com/SamProf/MatBlazor/i
- PR: Added ForceLoad option for MatButton and MatIconButton (Fixes #330) #570 (Thanks to [Garderoben](https://github.com/Garderoben) and [enkodellc](https://github.com/enkodellc))
- PR: Added LazyRendering for MatExpansionPanel + bug fix #578 (Thanks to [lindespang](https://github.com/lindespang))


#### MatBlazor 2.6.0
- Update to Latest Microsoft.AspNetCore.Components 3.1.4 and Microsoft.AspNetCore.Components.WebAssembly 3.2.0
- Update MDC-Web components to 6.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "Test",
"launchUrl": "DataTable",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down
4 changes: 2 additions & 2 deletions src/MatBlazor.Demo/BlazorFiddle/BaseBlazorFiddle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ protected async override Task OnFirstAfterRenderAsync()
{
await JsInvokeAsync<object>("blazorFiddle.create", Ref, new
{
Text = this.Code,
Template = this.Template,
Text = Code,
Template = Template,
});
}
catch (Exception e)
Expand Down
172 changes: 134 additions & 38 deletions src/MatBlazor.Demo/Demo/DemoDataTable.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<DemoContainer Header="Basic use of Data Table">
<Content>

<MatDataTable Items="@periodicElements">
<Columns>
<MatDataTableColumn TItem="PeriodicElement" Header="No." Value="@(i => i.Position)"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement" Header="Name" Value="@(i => i.Name)"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement" Header="Weight" Value="@(i => i.Weight)"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement" Header="Symbol" Value="@(i => i.Symbol)"></MatDataTableColumn>
</Columns>
<MatDataTable>
<MatDataTableContent Items="@periodicElements">
<MatDataTableColumn Header="No." Value="@context?.Position"></MatDataTableColumn>
<MatDataTableColumn Header="Name" Value="@context?.Name"></MatDataTableColumn>
<MatDataTableColumn Header="Weight" Value="@context?.Weight"></MatDataTableColumn>
<MatDataTableColumn Header="Symbol" Value="@context?.Symbol"></MatDataTableColumn>
</MatDataTableContent>
</MatDataTable>

@code
Expand Down Expand Up @@ -51,13 +51,13 @@
<SourceContent>
<BlazorFiddle Template="MatBlazor" Code=@(@"

<MatDataTable Items=""@periodicElements"">
<Columns>
<MatDataTableColumn TItem=""PeriodicElement"" Header=""No."" Value=""@(i => i.Position)""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement"" Header=""Name"" Value=""@(i => i.Name)""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement"" Header=""Weight"" Value=""@(i => i.Weight)""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement"" Header=""Symbol"" Value=""@(i => i.Symbol)""></MatDataTableColumn>
</Columns>
<MatDataTable>
<MatDataTableContent Items=""@periodicElements"">
<MatDataTableColumn Header=""No."" Value=""@context?.Position""></MatDataTableColumn>
<MatDataTableColumn Header=""Name"" Value=""@context?.Name""></MatDataTableColumn>
<MatDataTableColumn Header=""Weight"" Value=""@context?.Weight""></MatDataTableColumn>
<MatDataTableColumn Header=""Symbol"" Value=""@context?.Symbol""></MatDataTableColumn>
</MatDataTableContent>
</MatDataTable>

@code
Expand Down Expand Up @@ -98,16 +98,112 @@
</DemoContainer>


<DemoContainer Header="Basic use of Data Table">
<Content>

<MatDataTableOld Items="@periodicElements4">
<Columns>
<MatDataTableColumnOld TItem="PeriodicElement4" Header="No." Value="@(i => i.Position)"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement4" Header="Name" Value="@(i => i.Name)"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement4" Header="Weight" Value="@(i => i.Weight)"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement4" Header="Symbol" Value="@(i => i.Symbol)"></MatDataTableColumnOld>
</Columns>
</MatDataTableOld>

@code
{
class PeriodicElement4
{
public string Name { get; set; }
public int Position { get; set; }
public double Weight { get; set; }
public string Symbol { get; set; }

public PeriodicElement4(int position, string name, double weight, string symbol)
{
Position = position;
Name = name;
Weight = weight;
Symbol = symbol;
}
}

PeriodicElement4[] periodicElements4 = new PeriodicElement4[]
{
new PeriodicElement4(1, "Hydrogen", 1.0079, "H"),
new PeriodicElement4(2, "Helium", 4.0026, "He"),
new PeriodicElement4(3, "Lithium", 6.941, "Li"),
new PeriodicElement4(4, "Beryllium", 9.0122, "Be"),
new PeriodicElement4(5, "Boron", 10.811, "B"),
new PeriodicElement4(6, "Carbon", 12.0107, "C"),
new PeriodicElement4(7, "Nitrogen", 14.0067, "N"),
new PeriodicElement4(8, "Oxygen", 15.9994, "O"),
new PeriodicElement4(9, "Fluorine", 18.9984, "F"),
new PeriodicElement4(10, "Neon", 20.1797, "Ne"),
};
}

</Content>
<SourceContent>
<BlazorFiddle Template="MatBlazor" Code=@(@"

<MatDataTableOld Items=""@periodicElements4"">
<Columns>
<MatDataTableColumnOld TItem=""PeriodicElement4"" Header=""No."" Value=""@(i => i.Position)""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement4"" Header=""Name"" Value=""@(i => i.Name)""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement4"" Header=""Weight"" Value=""@(i => i.Weight)""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement4"" Header=""Symbol"" Value=""@(i => i.Symbol)""></MatDataTableColumnOld>
</Columns>
</MatDataTableOld>

@code
{
class PeriodicElement4
{
public string Name { get; set; }
public int Position { get; set; }
public double Weight { get; set; }
public string Symbol { get; set; }

public PeriodicElement4(int position, string name, double weight, string symbol)
{
Position = position;
Name = name;
Weight = weight;
Symbol = symbol;
}
}

PeriodicElement4[] periodicElements4 = new PeriodicElement4[]
{
new PeriodicElement4(1, ""Hydrogen"", 1.0079, ""H""),
new PeriodicElement4(2, ""Helium"", 4.0026, ""He""),
new PeriodicElement4(3, ""Lithium"", 6.941, ""Li""),
new PeriodicElement4(4, ""Beryllium"", 9.0122, ""Be""),
new PeriodicElement4(5, ""Boron"", 10.811, ""B""),
new PeriodicElement4(6, ""Carbon"", 12.0107, ""C""),
new PeriodicElement4(7, ""Nitrogen"", 14.0067, ""N""),
new PeriodicElement4(8, ""Oxygen"", 15.9994, ""O""),
new PeriodicElement4(9, ""Fluorine"", 18.9984, ""F""),
new PeriodicElement4(10, ""Neon"", 20.1797, ""Ne""),
};
}

")></BlazorFiddle>
</SourceContent>
</DemoContainer>


<DemoContainer Header="Pagination with Data Table">
<Content>
<MatDataTable Items="@periodicElements2" Paginator="true">
<MatDataTableOld Items="@periodicElements2" Paginator="true">
<Columns>
<MatDataTableColumn TItem="PeriodicElement2" Header="No." Value="@(i => i.Position)"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement2" Header="Name" Value="@(i => i.Name)"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement2" Header="Weight" Value="@(i => i.Weight)"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement2" Header="Symbol" Value="@(i => i.Symbol)"></MatDataTableColumn>
<MatDataTableColumnOld TItem="PeriodicElement2" Header="No." Value="@(i => i.Position)"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement2" Header="Name" Value="@(i => i.Name)"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement2" Header="Weight" Value="@(i => i.Weight)"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement2" Header="Symbol" Value="@(i => i.Symbol)"></MatDataTableColumnOld>
</Columns>
</MatDataTable>
</MatDataTableOld>

@code
{
Expand Down Expand Up @@ -145,14 +241,14 @@
</Content>
<SourceContent>
<BlazorFiddle Template="MatBlazor" Code=@(@"
<MatDataTable Items=""@periodicElements2"" Paginator=""true"">
<MatDataTableOld Items=""@periodicElements2"" Paginator=""true"">
<Columns>
<MatDataTableColumn TItem=""PeriodicElement2"" Header=""No."" Value=""@(i => i.Position)""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement2"" Header=""Name"" Value=""@(i => i.Name)""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement2"" Header=""Weight"" Value=""@(i => i.Weight)""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement2"" Header=""Symbol"" Value=""@(i => i.Symbol)""></MatDataTableColumn>
<MatDataTableColumnOld TItem=""PeriodicElement2"" Header=""No."" Value=""@(i => i.Position)""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement2"" Header=""Name"" Value=""@(i => i.Name)""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement2"" Header=""Weight"" Value=""@(i => i.Weight)""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement2"" Header=""Symbol"" Value=""@(i => i.Symbol)""></MatDataTableColumnOld>
</Columns>
</MatDataTable>
</MatDataTableOld>

@code
{
Expand Down Expand Up @@ -194,14 +290,14 @@

<DemoContainer Header="Sorting with Data Table">
<Content>
<MatDataTable Items="@periodicElements3">
<MatDataTableOld Items="@periodicElements3">
<Columns>
<MatDataTableColumn TItem="PeriodicElement3" Header="No." Value="@(i => i.Position)" Sort="true"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement3" Header="Name" Value="@(i => i.Name)" Sort="true"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement3" Header="Weight" Value="@(i => i.Weight)" Sort="true"></MatDataTableColumn>
<MatDataTableColumn TItem="PeriodicElement3" Header="Symbol" Value="@(i => i.Symbol)" Sort="true"></MatDataTableColumn>
<MatDataTableColumnOld TItem="PeriodicElement3" Header="No." Value="@(i => i.Position)" Sort="true"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement3" Header="Name" Value="@(i => i.Name)" Sort="true"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement3" Header="Weight" Value="@(i => i.Weight)" Sort="true"></MatDataTableColumnOld>
<MatDataTableColumnOld TItem="PeriodicElement3" Header="Symbol" Value="@(i => i.Symbol)" Sort="true"></MatDataTableColumnOld>
</Columns>
</MatDataTable>
</MatDataTableOld>

@code
{
Expand Down Expand Up @@ -239,14 +335,14 @@
</Content>
<SourceContent>
<BlazorFiddle Template="MatBlazor" Code=@(@"
<MatDataTable Items=""@periodicElements3"">
<MatDataTableOld Items=""@periodicElements3"">
<Columns>
<MatDataTableColumn TItem=""PeriodicElement3"" Header=""No."" Value=""@(i => i.Position)"" Sort=""true""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement3"" Header=""Name"" Value=""@(i => i.Name)"" Sort=""true""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement3"" Header=""Weight"" Value=""@(i => i.Weight)"" Sort=""true""></MatDataTableColumn>
<MatDataTableColumn TItem=""PeriodicElement3"" Header=""Symbol"" Value=""@(i => i.Symbol)"" Sort=""true""></MatDataTableColumn>
<MatDataTableColumnOld TItem=""PeriodicElement3"" Header=""No."" Value=""@(i => i.Position)"" Sort=""true""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement3"" Header=""Name"" Value=""@(i => i.Name)"" Sort=""true""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement3"" Header=""Weight"" Value=""@(i => i.Weight)"" Sort=""true""></MatDataTableColumnOld>
<MatDataTableColumnOld TItem=""PeriodicElement3"" Header=""Symbol"" Value=""@(i => i.Symbol)"" Sort=""true""></MatDataTableColumnOld>
</Columns>
</MatDataTable>
</MatDataTableOld>

@code
{
Expand Down
18 changes: 16 additions & 2 deletions src/MatBlazor.Demo/Demo/DemoDialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@
<MatDialogTitle>Hi @name</MatDialogTitle>
<MatDialogContent>
<p>What's your favorite animal?</p>
<MatTextField @bind-Value="@dialogAnimal"></MatTextField>
<MatSelect TValue="string" Label="Title">
<MatOptionString ></MatOptionString>
<MatOptionString Value="dr">Dr.</MatOptionString>
<MatOptionString Value="prof">Prof.</MatOptionString>
</MatSelect>
<MatTextField @bind-Value="@dialogAnimal"></MatTextField>


</MatDialogContent>
<MatDialogActions>
<MatButton OnClick="@(e => { dialogIsOpen = false; })">No Thanks</MatButton>
Expand Down Expand Up @@ -75,7 +82,14 @@
<MatDialogTitle>Hi @name</MatDialogTitle>
<MatDialogContent>
<p>What's your favorite animal?</p>
<MatTextField @bind-Value=""@dialogAnimal""></MatTextField>
<MatSelect TValue=""string"" Label=""Title"">
<MatOptionString ></MatOptionString>
<MatOptionString Value=""dr"">Dr.</MatOptionString>
<MatOptionString Value=""prof"">Prof.</MatOptionString>
</MatSelect>
<MatTextField @bind-Value=""@dialogAnimal""></MatTextField>


</MatDialogContent>
<MatDialogActions>
<MatButton OnClick=""@(e => { dialogIsOpen = false; })"">No Thanks</MatButton>
Expand Down
Loading