Skip to content

Commit

Permalink
Reference Checkboxes no longer have the same id (fixes clickability)
Browse files Browse the repository at this point in the history
  • Loading branch information
nezbite committed Jun 22, 2022
1 parent 2b09652 commit 4d020f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IHP/IDE/SchemaDesigner/View/Columns/New.hs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ instance View NewColumnView where
checkbox tableName = [hsx|
<div>
<div class="custom-control custom-checkbox ref" style="display: none;" data-attribute={(singularize tableName) <> "_id"} data-table={tableName} >
<input id="reference" type="checkbox" name="isReference" class="mr-1 custom-control-input"/>
<label class="mx-2 custom-control-label" id="refText">
<input id={"checkbox-ref-" <> tableName} type="checkbox" name="isReference" class="mr-1 custom-control-input"/>
<label for={"checkbox-ref-" <> tableName} class="mx-2 custom-control-label" id="refText">
References {tableName}
</label>
</div>
Expand Down

0 comments on commit 4d020f1

Please sign in to comment.