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

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -