Option selected by translation or/and key
Part of my
pug file looks like that:
ng-options="prefix.key as prefix.translation for prefix in $ctrl.streetPrefixes")
When i pass
json object to page that contains:
the option is not selected.
STREET value after the form is submitted as it stands in dictionairy:
I want that the option
Ul. to be selected and aditionaily
the same when i get json with
More over i would like to know how can i change value from
.Ul when form is submitted.
ng-options="prefix.translation as prefix.translation for prefix in $ctrl.streetPrefixes track by prefix.translation")
Ul. on submit, but when json has
still does not select it as value