Skip to content

Commit

Permalink
Fixed option msg
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Jun 24, 2024
1 parent 9762dd3 commit eb2e979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/app/field-types/Enum/Select/edit/render.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<sl-select name="{{snake_case field_name}}" .helpText=${msg("{{label}}")} {{#if required}}required{{/if}} {{#if edit}}.defaultValue=${ {{default_value}} }{{/if}}>
{{#each field_type.variants}}
<sl-option value="{{pascal_case this}}">{{title_case this}}</sl-option>
<sl-option value="{{pascal_case this}}">${msg("{{title_case this}}")}</sl-option>
{{/each}}
</sl-select>
2 changes: 1 addition & 1 deletion templates/zome/field-types/Enum/Select/edit/render.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<sl-select name="{{snake_case field_name}}" .helpText=${msg("{{label}}")} {{#if required}}required{{/if}} {{#if edit}}.defaultValue=${ {{default_value}} }{{/if}}>
{{#each field_type.variants}}
<sl-option value="{{pascal_case this}}">{{title_case this}}</sl-option>
<sl-option value="{{pascal_case this}}">${msg("{{title_case this}}")}</sl-option>
{{/each}}
</sl-select>

0 comments on commit eb2e979

Please sign in to comment.