diff --git a/ui/src/app/edge/edge-fieldset.tpl.html b/ui/src/app/edge/edge-fieldset.tpl.html
index 01728b0b9a..aee00875b9 100644
--- a/ui/src/app/edge/edge-fieldset.tpl.html
+++ b/ui/src/app/edge/edge-fieldset.tpl.html
@@ -100,24 +100,17 @@
tb-required="true"
the-form="theForm"
ng-model="edge.type"
- entity-type="types.entityType.edge"
- ng-value="defaultType">
+ entity-type="types.entityType.edge">
-
-
+ edge.license-key-hint
+
edge.edge-license-key-required
-
-
- {{ 'edge.license-key-tooltip' | translate }}
-
-
-
-
+ edge.cloud-endpoint-hint
diff --git a/ui/src/app/edge/edge.directive.js b/ui/src/app/edge/edge.directive.js
index 6a56cbcd87..a1efa67197 100644
--- a/ui/src/app/edge/edge.directive.js
+++ b/ui/src/app/edge/edge.directive.js
@@ -29,7 +29,6 @@ export default function EdgeDirective($compile, $templateCache, $translate, $mdD
scope.isAssignedToCustomer = false;
scope.isPublic = false;
scope.assignedCustomer = null;
- scope.defaultType = 'default';
scope.$watch('edge', function(newVal) {
if (newVal) {
@@ -37,6 +36,7 @@ export default function EdgeDirective($compile, $templateCache, $translate, $mdD
scope.edge.routingKey = utils.guid('');
scope.edge.secret = generateSecret(20);
scope.edge.cloudEndpoint = utils.baseUrl();
+ scope.edge.type = 'default';
}
if (scope.edge.customerId && scope.edge.customerId.id !== types.id.nullUid) {
scope.isAssignedToCustomer = true;
diff --git a/ui/src/app/locale/locale.constant-en_US.json b/ui/src/app/locale/locale.constant-en_US.json
index d6774ea114..77bd29dcb6 100644
--- a/ui/src/app/locale/locale.constant-en_US.json
+++ b/ui/src/app/locale/locale.constant-en_US.json
@@ -853,7 +853,8 @@
"no-edge-types-matching": "No edge types matching '{{entitySubtype}}' were found.",
"edge-type-list-empty": "No edge types selected.",
"edge-types": "Edge types",
- "license-key-tooltip": "To get license key please visit www.thingsboard.io/edge"
+ "license-key-hint": "To obtain your license please navigate to the pricing page and select the best license option for your case.",
+ "cloud-endpoint-hint": "Edge requires HTTP(s) access to Cloud (ThingsBoard CE/PE) to verify the license key. Please specify Cloud URL that Edge is able to connect to."
},
"error": {
"unable-to-connect": "Unable to connect to the server! Please check your internet connection.",