Skip to content

Commit

Permalink
Merge pull request #26 from openimis/feature/OP-1725
Browse files Browse the repository at this point in the history
OP-1725: remove null empty option from dropdown
  • Loading branch information
jdolkowski authored Jan 15, 2024
2 parents 04a2d44 + a26e436 commit a5abfb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PaymentMasterPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class PaymentMasterPanel extends FormPanel {
<Grid item xs={3} className={classes.item}>
<PublishedComponent
pubRef="contribution.PremiumPaymentTypePicker"
withNull={true}
withNull={false}
required
readOnly={readOnly}
value={!edited ? "" : edited.typeOfPayment}
Expand All @@ -119,7 +119,7 @@ class PaymentMasterPanel extends FormPanel {
<Grid item xs={3} className={classes.item}>
<PublishedComponent
pubRef="payment.PaymentStatusPicker"
withNull={true}
withNull={false}
readOnly={readOnly}
value={!edited ? "" : edited.status}
onChange={p => this.updateAttribute('status', p)}
Expand Down

0 comments on commit a5abfb0

Please sign in to comment.