SamProf / MatBlazor

Material Design components for Blazor and Razor Components
http://www.matblazor.com
MIT License
2.84k stars 384 forks source link

Feature Request / Issue #262

Open abibtj opened 5 years ago

abibtj commented 5 years ago

Can you please try and modify MatSelect to enable multiple selection and searching? Also, the newly implemented "CanBeClosed" feature of MatDialog throws and exception when set to false, but it works fine when it has its default value true. Thank you for the great work.

dga711 commented 5 years ago

About the MatDialog. Is it this "Exception"in the Browser console? Uncaught Error: You can't have a focus-trap without at least one focusable element

Otherwise be more specific please.

dga711 commented 5 years ago

This package mainly aims to wrap Material Components for Blazor. Filterable dropdowns are not really part of it. https://material-components.github.io/material-components-web-catalog/#/component/select

abibtj commented 5 years ago

About the MatDialog. Is it this "Exception"in the Browser console? Uncaught Error: You can't have a focus-trap without at least one focusable element

Otherwise be more specific please.

I found out that this Exeception is peculiar to google Chrome only. The Exeption is not thrown in other browsers. This is what I see in google Chrome console:

Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions in 'CircuitOptions.DetailedErrors'

abibtj commented 5 years ago

This package mainly aims to wrap Material Components for Blazor. Filterable dropdowns are not really part of it. https://material-components.github.io/material-components-web-catalog/#/component/select

Do you know of any workaround to be able to select multiple items in MatSelect? Thank you.

dga711 commented 5 years ago

Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions in 'CircuitOptions.DetailedErrors'

Can you provide a blazor fiddle example?

I don't get an Exception when doing this https://blazorfiddle.com/s/e1uwsrmg . Besides the focus trap error which is another topic.

Christian-Oleson commented 3 years ago

@abibtj @dga711 , Is this still an issue? Can this be closed?