Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Katie P
@katiep23
Any advice on making MatTextField background transparent like FullWidth without having to use FullWidth? Would like to be able to do the same for MatSelect, too.
Navod Bopitiya
@navodbopitiya
@SamProf since you're redoing the DatePicker, could you possibly add in Minimum Date and Maximum Date properties to it? Would be very useful.
novfal
@novfal
@SamProf Add DateRangepicker also
after update the 1.7.2 the mentioned error came Could not load file or assembly 'MatBlazor, Version=1.7.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'
HansM
@SeppPenner
@novfal Try to delete all bin and obj folders and re-build the project. I had the same issue.
If this doesn't help, add MatBlazor to all projects that have dependents of the project using MatBlazor. This should fix the issue.
Mason742
@Mason742
how to set row width on MatTable?
Mason742
@Mason742
How did you get mat table not to wordwrap for the documentation
Keith
@enkodellc
@Mason742 I have used setting a div within a header to set a fixed column width. My examples are here: https://github.com/enkodellc/blazorboilerplate/blob/master/src/BlazorBoilerplate.Client/Pages/BlazorMiddlewareAudit.razor
MatTable has a lot of possible features that need to be addressed. I created with the help of another repo but that could be it's own component.
I have not done much with WordWrap but you could try mixing some CSS in there with Widths. It is a challenge to do it and be responsive..
Mason742
@Mason742
@enkodellc thank you so much the <div> trick worked!
SondreB
@sondreb
I'd like to have a side-menu that doesn't disappear on desktop devices (but want it to be dismissible on small devices), and since the MatDrawerContainer can't do that for the desktop mode, I tried to simply do a couple of divs and configure them as flex children, but then the MatAppBarContainer will render outside of the screen :-|
should I instead use MatDrawer and attempt to "hack" it ?
it is actually the same problem when the app bar is embedded in the drawer
SondreB
@sondreb
as you can see here, the right side icon (favorite button) disappears when the sidebar is active.
novfal
@novfal
Keith
@enkodellc
@sondreb have you seen what I have done with https://blazorboilerplate.com it has some pretty advanced settings that are responsive and user controlled for Hidden, Minified and open
I always show the buttons in the App Bar section. Like you are describing being hidden. I think you need to use flex in the app section to reduce the size of the App Bar Title.
@noval has the other approach to put the drawer under the header bar.
SondreB
@sondreb
@novfal I did it this way for a reason, don't want the appbar to take the full top.
Thanks @enkodellc , that minify-navigation is what I'm after.
Keith
@enkodellc
@sondreb well take a look at the source. Please do a ton of testing and if you find issues or have some other ideas I welcome criticism and PR's! https://github.com/enkodellc/blazorboilerplate
SondreB
@sondreb
Yepp got it cloned, I'm afraid of of Blazor as Microsoft have burnt thousands of devs many times over the last couple of decades on UI-tech :-D
Keith
@enkodellc
Rightfully so. I think Blazor is going to be a winner with Webassembly and as the alternative to JS frameworks like Angular. That is why I started using it. My opinion is that they need an that JS framework alternative.
SondreB
@sondreb
Is there a way to get some auto-reload behavior?
Keith
@enkodellc
Please be more specific or describe an example? I think you might be asking about StateHasChanged(); for components
This gitter page has a lot more for general Blazor topics: https://gitter.im/aspnet/Blazor
SondreB
@sondreb
Not having to rebuild manually
I'm working on an app that must run on multi-device, so hopefully will be able to host the app with Electron and Cordova.
Keith
@enkodellc
Oh yes live-reload after code changes.. not that I know of though looks like an issue they are tracking: aspnet/AspNetCore#11168 .
SondreB
@sondreb
appears to at least be some kind of reload on CSS
Keith
@enkodellc
Yes, you can at least refresh the page and CSS will update.
novfal
@novfal
@enkodellc https://blazorboilerplate.com not opening for me
Keith
@enkodellc
What is your OS / Browser. It is working for me and I have not heard of any others having issue.
novfal
@novfal
win 10 / chrome
image.png
Ivan Josipovic
@IvanJosipovic
works fine here
Keith
@enkodellc
@noval where are you at? My firewall blocks some countries I will post that on my repo. I was getting attacks from several foreign IP's / countries so my security team has blocked countries that my clients are not engaged with. You can VPN in from UK / USA and a few others. I suggest you just download it and run it for yourself!
novfal
@novfal
i am in india]
ok i will try
Keith
@enkodellc
@novfal I am pretty sure India is blocked. My clients have no customers there and I have seen some attacks from IP's in India so it is just easiest to block that IP range to reduce the server's exposure. Sorry. BlazorBoilerplate should build quickly with Visual Studio.
HansM
@SeppPenner
@SamProf Is there a way to set the initially selected value of MatSelect (https://www.matblazor.com/Select)?
Mason742
@Mason742
When I update to Matblazor 1.8.0 and Embedded Blazor 1.8 I get "HTTP Error 500.30 - ANCM In-Process Start Failure" When I publish my Azure App. If I downgrade those libraries to 1.7.4 and 1.7.0. The application publishes successfully. This happens when I create a new project with only MatBlazor package. Running VS2019Preview and .net 3.0 RC1.. Any ideas?
-Server side
novfal
@novfal
@foreach (var tech in newList)
{
if (tech.TimeOff.Count > 0)
{
foreach (var time in tech.TimeOff)
{<MatTableRow>
<td >@context.Some.Name</td>
<td>@context.Some</td></MatTableRow>
}
}
else
{
<MatTableRow>
<td >@context.Some.Name</td>
<td>@context.Some</td></MatTableRow>
}
}
the above one not taken in table
Katie P
@katiep23
@Mason742 I have same issue. Did you ever get it figured out?