typescript - Angular 2: How to bind select field in model-driven forms? -


i couldn't find example of binding model-driven one-way data bound form value select field. can me find it?

below example of non-working code try(jade syntax).

select([formcontrol]='registerform.controls["type"]')   option(value='value1') value 1   option(value='value2') value 2 

it easier thought.

select([formcontrol]='registerform.controls["type"]')   option([value]='"value1"') value 1   option([value]='"value2"') value 2 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -