-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Md-Select and Hint #2624
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
Comments
I know where you are coming from. I usually use
P.S. extra CSS is required to hide |
I thing it would be nice if you can embed |
Tracking this in #2498. Closing as a dupe. |
@codef0rmer can you elaborate on the css to hide the fake input in your trick? I've tried variations of
where |
@tgiddings finally after couple hours, I figured out how to fix it. here is working code style.css
|
@antonyboom I tried this but didn't work... Could you provide a plunk? |
@gcfabri I'm sorry cannot reproduce it in plunker because official example doesn't work and I couldn't force to work it. It requires to import BrowserAnimationsModule which is not accessible from cloudflare at this moment |
@antonyboom Not working for me either. |
@gcfabri @ramshinde92 |
for that css problem, another way is to use /deep/ |
What does /deep/ do? |
@mackelito for components that have ViewEncapsulation, it will break through it. For example, with ViewEncapsulation, .tricky-select .mat-input-underline { }
// compiles to...
.tricky-select[_ngcontent-c1] .mat-input-underline[_ngcontent-c1] { } .tricky-select /deep/ .mat-input-underline { }
// compiles to...
.tricky-select[_ngcontent-c1] .mat-input-underline { } |
Aaah Good to know! What does the "deep" stand for? |
Presumable just the word "deep" for accessing elements that belong to "deeper" components? Note, however, that it is being deprecated. You can read more here https://angular.io/guide/component-styles#deprecated-deep--and-ng-deep |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Newbie doubts
Md-select does not accept hints and breaks pattern with input or i'm doing it wrong?
Usage in forms compromised!
The text was updated successfully, but these errors were encountered: