Skip to content

Commit

Permalink
Visualize mandatory attributes in React clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Madmat8 committed Mar 1, 2023
1 parent 66cf6bc commit 25f5ad6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{# if child.hiddenBy }} { !data.{{ child.hiddenBy.name }} && {{/ if }}
<Grid item xs={12} sm={12} {{# neq (calculateSize child) 12.0 }}md={ {{ calculateSize child }} }{{/ neq }}>
<TextField
{{# if child.attributeType.isRequired }}required {{/ if }}
name="{{ child.attributeType.name }}"
id="{{ getXMIID child }}"
label={ t('{{ idToTranslationKey child.fQName application }}', { defaultValue: '{{ child.label }}' }) as string }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{# if child.hiddenBy }} { !data.{{ child.hiddenBy.name }} && {{/ if }}
<Grid item xs={12} sm={12} {{# neq (calculateSize child) 12.0 }}md={ {{ calculateSize child }} }{{/ neq }}>
<TextField
{{# if child.attributeType.isRequired }}required {{/ if }}
name="{{ child.attributeType.name }}"
id="{{ getXMIID child }}"
label={ t('{{ idToTranslationKey child.fQName application }}', { defaultValue: '{{ child.label }}' }) as string }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{# if child.hiddenBy }} { !data.{{ child.hiddenBy.name }} && {{/ if }}
<Grid item xs={12} sm={12} {{# neq (calculateSize child) 12.0 }}md={ {{ calculateSize child }} }{{/ neq }}>
<TextField
{{# if child.attributeType.isRequired }}required {{/ if }}
name="{{ child.attributeType.name }}"
id="{{ getXMIID child }}"
label={ t('{{ idToTranslationKey child.fQName application }}', { defaultValue: '{{ child.label }}' }) as string }
Expand Down

0 comments on commit 25f5ad6

Please sign in to comment.