Skip to content

Commit

Permalink
change number input to text input
Browse files Browse the repository at this point in the history
  • Loading branch information
ODORA0 committed May 23, 2024
1 parent 9a19022 commit 53ee256
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bill-item-actions/edit-bill-item.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { InlineNotification } from '@carbon/react';
import { getBillableServiceUuid } from '../invoice/payments/utils';
import { useBillableServices } from '../billable-services/billable-service.resource';
import { NumberInput } from '@carbon/react';
import { TextInput } from '@carbon/react';

interface BillLineItemProps {
bill: MappedBill;
Expand Down Expand Up @@ -157,7 +158,7 @@ const ChangeStatus: React.FC<BillLineItemProps> = ({ bill, item, closeModal }) =
name="price"
control={control}
render={({ field: { value } }) => (
<NumberInput
<TextInput
id="priceInput"
label={t('price', 'Unit Price')}
value={value}
Expand Down

0 comments on commit 53ee256

Please sign in to comment.