-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
md-select #118
Comments
When we can expect a version of select to be available. |
Please make a editable md-select! |
Both blockers closed. Can we expect md-select soon? |
It would be great if md-select and other similar components (menu, dialog, etc) were based on a foundation component such as material 1 md-panel (https://material.angularjs.org/latest/api/service/$mdPanel). Is the team considering this as a design? |
@jelbourn when do you anticipate the design doc being ready? It's not yet up in the Design doc directory. Since you'll support multi-select (mentioned here), will you also support searching the list (i.e. filtering down the list) in the case of very large lists - to facilitate finding an item less cumbersome? Also, a check-all/clear for multi-select? |
There is the possibility of being implemented some things this plugin JS? http://selectize.github.io/selectize.js/ |
this is an essential component, looking forward to it. |
Hi all congratulations for this project I think is gonna be awesome, but just one thing that I'm seeing here and is the order of components that has been release until now, I think it would better to do things like layouts size, auto-size by device type, and also take care about the most need common form components for example I would be priorize md-select than md-menu or md-tool bar or focus more on md-grid than md-tooltips. |
This project is awesome. I was surprised to find that the select field was so low on the priority list. I'm currently working on a form that requires them. I ended up using materialize-css but I know this is a better solution in the long run. |
@mesopotamia - Any pointers on how you integrated materialize-css with A2 material? Aren't there overlaps? |
I ended up using only materialize-css for now and will switch back to material2 when it's ready. However, I can imagine that you can use material 2 and import the select.scss from material 2. Dont forget you will need to also import the js module for adding the functionality. |
Design doc: md-select |
@kara thx for the design doc. Looks great! I see the md-select-header will support my previous requests (filtering, check all, uncheck all). I have 3 questions/requests.
|
@narkissbv See #2167 and #2124. @bnatter There isn't a |
@kara Thank you! Are there plans for the md-select to have the |
@yosefdishinger, @kara : Thanks for the help. |
@ManishJainGitHubUser Thanks a lot for the syntax! |
Hi, I create a form for editing. The form contains several 'md-select' which uses the data from the server. Please, tell me how to correct fill my form. |
Is it correct run all slave requests into ngOnInit, main request start execute into ngAfterViewInit lifecycle? |
@narkissbv you can custom with css by doing something like:
|
@rafaellyra Kinda hoped for something more sturdy, that will calculate the available height from the top of the The problem with CSS is that I don't know how many items I will have in each |
@narkissbv there is no position change on
should solve your problem of having a scrollbar when there is space on the viewport |
How can we change the color of the select text and separator to other theme style, the "color" property does not work neither "dividerColor" |
How can I preselected an option? when I tried to use [selected], there is an error. |
@vivian7169 you need to use
|
Hello,
Thanks! |
@alan345 Make sure to import @angular/forms in your module. import {MaterialModule} from "@angular/material";
import {FormsModule} from '@angular/forms';
@NgModule({
imports: [MaterialModule.forRoot(), FormsModule]
}) |
Thank you for reply.
Already solved the issue. ;-)
Regards,
Vivian
…On Fri, Jan 6, 2017 at 6:47 PM, Beat Meier ***@***.***> wrote:
@alan345 <https://github.com/alan345> Make sure do import @angular/forms
in your module.
import {MaterialModule} from ***@***.***/material";import {FormsModule} from ***@***.***/forms';
@NgModule({
imports: [MaterialModule.forRoot(), FormsModule]
})
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#118 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFLILttvkPf9WSF_3TyvlHzZBDRvOa00ks5rPhvfgaJpZM4HkX8O>
.
|
I think I got a scenario
and them
When the expression is true and the component is rendered the value is not selected. |
I'm using @angular/material@2.0.0-beta.1 and I'm facing the problem that the selection list is always displayed at the bottom of the page. How can I fix that? Finally I solved the problem by adding a CSS file as discribed in: https://material.angular.io/guide/theming. Since we are working with CLI I did as follows: |
I'm having an issue with md-select not working with reactive forms, it seems the initial value is not getting set, am I doing something wrong or is this a bug? Here is a plnkr.... |
@zerouno62, I had the same problem menu would shoot up to the top left, had to put position:absolute on the .cdk-overlay-pane class. I used a <style> block in index.html, not ideal but solved my issue |
@zerouno62 at least you have a selection list My Any idea why? |
Toggling theme not applying for md-select. By default it is applying the light-theme even though we are toggling the theme from light to dark.. |
This was asked previously, but there is no answer - ngValue binding doesn't work with md-option, how can we use md-select with objects as option values? |
I am using beta-1 Initial value is not set when data for options are loading form api. |
@BhattaRj |
Hello, I have the same problem as @BhattaRj. if I do this:
The value gets preselected according to the binding. If i change it to
(literally add md- prefix to tags) the value is NOT preselected. That's also when using API for filling options, angualr/material 2.0.0.-beta.1, angular 2.4.3 |
I'm closing this thread since it's gone somewhat off-topic. If you encounter issues with md-select please file an issue following the issue template. For questions / help, try gitter and Stack Overflow. |
Blocked on both #113 and #84
The text was updated successfully, but these errors were encountered: