Comments (8)
It's not touchable
from angular_components.
Can't imagine how that should look like. Can you elaborate a bit more or add a screenshot from another implementation?
from angular_components.
This is an example.
[http://wsnippets.com/wp-content/uploads/2013/11/show-hide-password1.png]
from angular_components.
Looks like the example in https://dart-lang.github.io/angular2_components_example/ "With trailing glyph"
from angular_components.
Just to be clear, are you talking about turning the glyph into a button that does something different than clicking anywhere else in the input box?
from angular_components.
I tried to put that icon into a button to open a dropdown.
I can figure out from the event of the glyph was clicked or something else, but it's ugly.
from angular_components.
You can use the ng-content provided in the input for this. Something like this:
<material-input> <material-button (trigger)="clicked($event)" trailing></material-button> </material-input>
This is just to show how one might do it. I probably wouldn't use material-button for this.
from angular_components.
Sounds great. Will try.
from angular_components.
Related Issues (20)
- material-dropdown-select does not work with reactive forms ngFormGroup, ngControl, ngFormControl HOT 1
- material-dropdown-select not showing error message when form model validation fails HOT 1
- material-dropdown-select changes its state to touched on focus instead of on blur
- How do i get suggestions when typing for angular_components WebStorm HOT 2
- SimpleHtml should allow target with rel="noreferrer"
- DateRangeEditorComponent unknown popupHandle input
- material-progress: Accessibility with Screen Readers like JAWS HOT 1
- Modal: Assertion failed when GlobalModalStack is enabled. HOT 1
- Feature Request for Material-Stepper make activeStepIndex an Input
- Update to new version of MDC
- Please update to support dart 2.9.0-5.0.dev HOT 2
- can't change material-dropdown-select [max-width], it's hard-coded HOT 1
- Please Update material components HOT 2
- Expand/collapse items in MaterialListComponent HOT 1
- Add missing `disabled` input attribute for `MaterialMonthPickerComponent`
- MaterialTreeComponent is not responding to selection change HOT 5
- ChangeDetectionStrategy.OnPush missing in a few components HOT 1
- Failure to resolve dependencies in Dart 2.12.0 HOT 2
- Null safety HOT 4
- Currently Incompatible with Dart 12.14.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular_components.