Merge pull request #2084 from overleaf/ta-new-subscription-country

Fix Country Auto-Selection on New Subscription Form

GitOrigin-RevId: fdf7b197017ee9ce527dd7737240756ff16d206a
This commit is contained in:
Eric Mc Sween 2019-08-20 08:43:54 -04:00 committed by sharelatex
parent ced31d6131
commit 1fc64fc4e2

View file

@ -166,8 +166,8 @@ block content
required,
ng-selected="{{country.code == data.country}}"
)
option(value='', disabled, selected) #{translate("country")}
option(value='-') --------------
option(value='', disabled) #{translate("country")}
option(value='-', disabled) --------------
option(ng-repeat="country in countries" ng-bind-html="country.name" value="{{country.code}}")
span.input-feedback-message {{ simpleCCForm.country.$error.required ? 'This field is required' : '' }}