I am having a problem with the md-select component of Angular2 material, where the value from the FormGroup is not loading or filling in the select. Here is the code ...
https://embed.plnkr.co/p7Fm9lC4TxoVaZ8ydYf0/
The value for the formal control is set to 1, but the user interface shows as if no value is being populated with a placeholder message.
Am I doing something wrong?
, , , , . , , , : md-select
, ? , Angular. , , , ...
, :
this.form = new FormBuilder().group({ formal: [1] });
:
this.form = new FormBuilder().group({ formal: ['1'] });
Source: https://habr.com/ru/post/1666636/More articles:Python Pandas: discard strings of different times based on time range - pythonnew T (...) vs std :: make_unique (...). release () - c ++Spring Binding MVC in a typed field - javaHow to use local dependencies in Clojure? - mavenType of boolean expression with comparison operator - javascriptPassing id via href link in Laravel - phpСкопируйте один слайд из презентации Google в новую презентацию google, используя API - rubyInconsistent information in Git (log vs. diff) about one file - gitCopy one slide from a Google presentation to a new google presentation using the API - ruby | fooobar.comRails 4.2 is developing very slowly - ruby | fooobar.comAll Articles