File tree Expand file tree Collapse file tree 6 files changed +10
-23
lines changed
Customer/view/base/ui_component
Ui/view/base/web/js/form/element Expand file tree Collapse file tree 6 files changed +10
-23
lines changed Original file line number Diff line number Diff line change 413
413
</item >
414
414
</argument >
415
415
</field >
416
- <field name =" country_id" >
417
- <argument name =" data" xsi : type =" array" >
418
- <item name =" config" xsi : type =" array" >
419
- <item name =" dataType" xsi : type =" string" >text</item >
420
- <item name =" formElement" xsi : type =" string" >select</item >
421
- <item name =" source" xsi : type =" string" >address</item >
422
- <item name =" validation" xsi : type =" array" >
423
- <item name =" required-entry" xsi : type =" boolean" >true</item >
424
- </item >
425
- </item >
426
- </argument >
427
- </field >
428
416
<field name =" region" >
429
417
<argument name =" data" xsi : type =" array" >
430
418
<item name =" config" xsi : type =" array" >
437
425
</field >
438
426
<field name =" region_id" >
439
427
<argument name =" data" xsi : type =" array" >
440
- <item name =" customEntry" xsi : type =" string" >region</item >
441
428
<item name =" config" xsi : type =" array" >
442
429
<item name =" dataType" xsi : type =" string" >text</item >
443
430
<item name =" formElement" xsi : type =" string" >select</item >
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ define([
47
47
_ . bindAll ( this , 'reset' ) ;
48
48
49
49
this . _super ( ) ;
50
-
51
- this . initialValue = this . getInititalValue ( ) ;
50
+ this . initialValue = this . getInitialValue ( ) ;
52
51
53
52
this . value ( this . initialValue ) ;
54
53
@@ -97,7 +96,7 @@ define([
97
96
*
98
97
* @returns {* } Elements' value.
99
98
*/
100
- getInititalValue : function ( ) {
99
+ getInitialValue : function ( ) {
101
100
var values = [ this . value ( ) , this . default ] ,
102
101
value ;
103
102
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ define([
13
13
*
14
14
* @return {Boolean }
15
15
*/
16
- getInititalValue : function ( ) {
16
+ getInitialValue : function ( ) {
17
17
return ! ! + this . _super ( ) ;
18
18
} ,
19
19
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ define([
26
26
*
27
27
* @returns {String }
28
28
*/
29
- getInititalValue : function ( ) {
29
+ getInitialValue : function ( ) {
30
30
var value = this . _super ( ) ;
31
31
32
32
if ( value ) {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ define([
20
20
*
21
21
* @returns {Number|String }
22
22
*/
23
- getInititalValue : function ( ) {
23
+ getInitialValue : function ( ) {
24
24
var value = this . _super ( ) ;
25
25
26
26
return _ . isString ( value ) ? value . split ( ',' ) : value ;
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ define([
14
14
var inputNode = {
15
15
parent : '${ $.$data.parentName }' ,
16
16
type : 'form.input' ,
17
- name : '<%= $ data.index %> _input' ,
18
- dataScope : '<%= $ data.customEntry %> ' ,
19
- customScope : '<%= $ data.customScope %> ' ,
17
+ name : '${ $.$ data.index } _input' ,
18
+ dataScope : '${ $.$ data.customEntry } ' ,
19
+ customScope : '${ $.$ data.customScope } ' ,
20
20
sortOrder : {
21
21
after : '${ $.$data.name }'
22
22
} ,
@@ -157,6 +157,7 @@ define([
157
157
initFilter : function ( ) {
158
158
var filter = this . filterBy ;
159
159
160
+ this . filter ( this . default , filter . field ) ;
160
161
this . setLinks ( {
161
162
filter : filter . target
162
163
} , 'imports' ) ;
@@ -181,7 +182,7 @@ define([
181
182
*
182
183
* @returns {Number|String }
183
184
*/
184
- getInititalValue : function ( ) {
185
+ getInitialValue : function ( ) {
185
186
var value = this . _super ( ) ;
186
187
187
188
if ( value !== '' ) {
You can’t perform that action at this time.
0 commit comments