Comments (3)
@yuzhva you can use 'disabled' instead of 'readonly'
from md2.
Yeah - I did it. The other side of 'disabled' property is when you are trying to use it with FormBuilder.
It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true
when you set up this control in your component class, the disabled attribute will actually be set in the DOM for
you. We recommend using this approach to avoid 'changed after checked' errors.Example: form = new FormGroup({ first: new FormControl({value: 'Nancy', disabled: true}, Validators.required), last: new FormControl('Drew', Validators.required) });
So I found how to use md2 date picker, just opened that issue to mentioned that this property is missed.
from md2.
we have fixed FormBuilder issue with #114
from md2.
Related Issues (20)
- [md2-toast] position change
- Display Weeknumber HOT 2
- Year value always starts at 1900 if 2 digits for the year is used HOT 2
- How to set focus on Autocomplete input
- Md2Autocomplete don´t escape special characters on input in regex when insert '+'
- Md2Dialog not call onClose() event on 'Esc'
- How to detect colorpicker change event
- DatePicker parses with Y, but doesn't format with Y.
- md2-datepicker allowing character(s) after a valid date
- web pack build prod not working
- Package is not compatible with latest rxjs ^6.0.0 HOT 14
- Datepicker placeholder merges with incorrect input (when datepicker lose focus)
- Maxlength in autocomplete.
- md2-select - inserting random characters while in search, stops the behaviour of select functionality
- How to internationalize dates
- Angular 6.X peer dependencies
- Multiselect does not close on IE11(Accordion) if display:none
- Is there support for Angular 7?
- Angular 8 support HOT 4
- ERROR in node_modules/md2/core/a11y/list-key-manager.d.ts(2,10): error TS2305: Module has no exported member "Observable"
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 md2.