From 1b6b4733bd26682698ecc13a753fabeb29f79a34 Mon Sep 17 00:00:00 2001 From: Yassir Hannoun Date: Tue, 7 Nov 2017 08:05:13 +0100 Subject: [PATCH] feat(images): enable auto completion for image names when creating a container or a service (#1355) --- app/components/createContainer/createcontainer.html | 2 +- app/components/createService/createservice.html | 2 +- app/directives/imageRegistry/por-image-registry.js | 3 ++- app/directives/imageRegistry/porImageRegistry.html | 4 +++- .../imageRegistry/porImageRegistryController.js | 13 +++++++++---- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/components/createContainer/createcontainer.html b/app/components/createContainer/createcontainer.html index c784d7517..a90f8da59 100644 --- a/app/components/createContainer/createcontainer.html +++ b/app/components/createContainer/createcontainer.html @@ -28,7 +28,7 @@
- +
diff --git a/app/components/createService/createservice.html b/app/components/createService/createservice.html index b59053509..e2c404fc0 100644 --- a/app/components/createService/createservice.html +++ b/app/components/createService/createservice.html @@ -25,7 +25,7 @@
- +
diff --git a/app/directives/imageRegistry/por-image-registry.js b/app/directives/imageRegistry/por-image-registry.js index f8d004967..ccc65cdc9 100644 --- a/app/directives/imageRegistry/por-image-registry.js +++ b/app/directives/imageRegistry/por-image-registry.js @@ -3,6 +3,7 @@ angular.module('portainer').component('porImageRegistry', { controller: 'porImageRegistryController', bindings: { 'image': '=', - 'registry': '=' + 'registry': '=', + 'autoComplete': '<' } }); diff --git a/app/directives/imageRegistry/porImageRegistry.html b/app/directives/imageRegistry/porImageRegistry.html index 3f1dbcd43..06fc192e9 100644 --- a/app/directives/imageRegistry/porImageRegistry.html +++ b/app/directives/imageRegistry/porImageRegistry.html @@ -1,7 +1,9 @@
- +