Skip to content

Commit

Permalink
fix issue when field name contains 'number' or other validation keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
schnoeggi committed Feb 20, 2023
1 parent a44c838 commit b4a4373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openatlas/templates/forms/reference_field.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="row g-1">
<div class="col-6">
<input autocomplete="off" style="position: relative" value="{{ field.data['value'] or '' }}" id="reference_system_value_{{ field.reference_system_id }}" placeholder="{{ field.placeholder }}" name="reference_system_id_{{ field.reference_system_id }}"
type="text" class="{{ field.label.text }} {{ config.CSS.string_field }}"/>
type="text" class="{{ field.label.text.replace(' ','-') }} {{ config.CSS.string_field }}"/>

</div>
<div class="col-6">
Expand Down

0 comments on commit b4a4373

Please sign in to comment.