Skip to content

Commit

Permalink
Updated item-type toggle for add-stock-item (openmrs#51)
Browse files Browse the repository at this point in the history
thanks @patryllus
  • Loading branch information
patryllus authored Dec 21, 2023
1 parent 46d1aec commit c9fe2ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ const StockItemDetails = forwardRef<never, StockItemDetailsProps>(
}}
name="isDrug"
>
<RadioButton value={isDrug} id="isDrug-true" labelText="Drug" />
<RadioButton value={isDrug} id="isDrug-false" labelText="Other" />
<RadioButton value={true} id="isDrug-true" labelText="Drug" />
<RadioButton value={false} id="isDrug-false" labelText="Other" />
</ControlledRadioButtonGroup>
</FormGroup>
{isDrug && (
Expand Down

0 comments on commit c9fe2ba

Please sign in to comment.