Skip to content

Commit

Permalink
Set unit field as required
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikNoga committed Jun 18, 2024
1 parent 3a1d1bc commit 2eb5913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stock-adjustment-creation/adjustment-creation.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2>
{{:: 'adjustmentCreation.unit' | message }}
</label>
<select id="newItemUnit" ng-options="unit.id as unit.name for unit in vm.selectedOrderableGroup[0].orderable.units"
ng-model="vm.newItemUnitId">
ng-model="vm.newItemUnitId" required>
</select>
</div>
<button type="submit" class="add">{{vm.key('add') | message}}</button>
Expand Down

0 comments on commit 2eb5913

Please sign in to comment.