Просмотр исходного кода

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

Fix Country Auto-Selection on New Subscription Form

GitOrigin-RevId: fdf7b197017ee9ce527dd7737240756ff16d206a
Eric Mc Sween 7 лет назад
Родитель
Сommit
1fc64fc4e2
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/app/views/subscriptions/new.pug

+ 2 - 2
services/web/app/views/subscriptions/new.pug

@@ -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' : '' }}