1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-01 03:45:22 +02:00
portainer/app/portainer/components/custom-template-common-fields/index.js
Richard Wei 661931d8b0
fix(template): add name validation for template name EE-1806 (#5823)
* add name validation for tempalte name
2021-10-07 13:02:56 +13:00

12 lines
389 B
JavaScript

import CustomTemplateCommonFieldsController from './customTemplateCommonFieldsController.js';
angular.module('portainer.app').component('customTemplateCommonFields', {
templateUrl: './customTemplateCommonFields.html',
controller: CustomTemplateCommonFieldsController,
bindings: {
formValues: '=',
showPlatformField: '<',
showTypeField: '<',
nameRegex: '<',
},
});