File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 4
4
RED . nodes . registerType ( 'magento-eqp-config' , {
5
5
category : 'config' ,
6
6
defaults : {
7
- environment : { value : 'production' } ,
7
+ name : { value : '' } ,
8
+ environment : { value : 'production' , required : true } ,
8
9
autoRefresh : { value : true }
9
10
} ,
10
11
credentials : {
11
12
appId : { type : 'text' } ,
12
13
appSecret : { type : 'password' }
13
14
} ,
14
15
label : function ( ) {
15
- return this . environment . toUpperCase ( ) ;
16
+ return ` ${ this . name } | ${ this . environment . toUpperCase ( ) } ` ;
16
17
}
17
18
} ) ;
18
19
</ script >
19
20
20
21
< script type ="text/html " data-template-name ="magento-eqp-config ">
22
+ < div class = "form-row" >
23
+ < label for = "node-config-input-name" > < i class = "icon-tag" /> Name</ label >
24
+ < input type = "text" id = "node-config-input-name" placeholder = "Name" />
25
+ </ div >
26
+
21
27
< div class = "form-row" >
22
28
< label for = "node-config-input-environment" > < i class = "icon-tag" /> Environment</ label >
23
29
< select id = "node-config-input-environment" >
You can’t perform that action at this time.
0 commit comments