File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
packages/components/_templates/power-apps/new Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,32 @@ force: true
1010 control-type =" standard" >
1111
1212 <% if (locals .props ){ locals .props .forEach ((prop )=> { -% >
13- < property name= " <%= prop.name %>" display- name- key= " <%= prop.name %>_Display_Key"
13+ < property name= " <%= prop.name %>"
14+
15+ < % if (typeof prop .displayNameKey !== ' undefined' && prop .displayNameKey ){ -% >
16+ display- name- key= " <%= prop.displayNameKey %>"
17+ < % } else { -% >
18+ display- name- key= " <%= prop.name %>_Display_Key"
19+ < % } -% >
20+
1421 description- key= " <%= prop.name %>_Desc_Key"
1522
1623 < % if (typeof prop .onChange !== ' undefined' && prop .onChange ){ -% >
1724 usage= " bound"
18- < % } else { -% >
25+ < % } else { -% >
1926 usage= " input"
2027 < % } -% >
2128
2229 < % if (typeof prop .required !== ' undefined' && prop .required ){ -% >
2330 required= " true"
24- < % } else { -% >
31+ < % } else { -% >
2532 required= " false"
2633 < % } -% >
2734
35+ < % if (typeof prop .defaultValue !== ' undefined' && prop .defaultValue ){ -% >
36+ default- value= " <%= prop.defaultValue %>"
37+ < % } -% >
38+
2839 < % if (typeof prop .type !== ' undefined' && prop .type !== " Icon" && prop .type !== " DefaultVariant" ){ -% >
2940 of - type= " <%= prop.type %>"
3041 < % } else if (prop .type === " Icon" ){ -% >
You can’t perform that action at this time.
0 commit comments