Skip to content

Commit

Permalink
Add new fields [wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Sep 17, 2024
1 parent 1181892 commit 909545e
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion centrifuge-app/src/pages/IssuerCreatePool/IssuerInput.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, FileUpload, Grid, ImageUpload, Text, TextAreaInput, TextInput } from '@centrifuge/fabric'
import { Box, FileUpload, Grid, ImageUpload, NumberInput, Text, TextAreaInput, TextInput } from '@centrifuge/fabric'
import { Field, FieldProps } from 'formik'
import { FieldWithErrorMessage } from '../../components/FieldWithErrorMessage'
import { Tooltips } from '../../components/Tooltips'
Expand Down Expand Up @@ -89,6 +89,31 @@ export function IssuerInput({ waitingForStoredIssuer = false }: Props) {
)}
</Field>
</Box>
<FieldWithErrorMessage
name="historialDefaultRate"
label="Historical default rate"
as={NumberInput}
disabled={waitingForStoredIssuer}
placeholder="0.00"
symbol="%"
/>
<FieldWithErrorMessage name="fundAdmin" label="Fund admin" as={TextInput} disabled={waitingForStoredIssuer} />
<FieldWithErrorMessage name="trustee" label="Trustee" as={TextInput} disabled={waitingForStoredIssuer} />
<FieldWithErrorMessage
name="pricingOracleProvider"
label="Pricing oracle provider"
as={TextInput}
disabled={waitingForStoredIssuer}
/>
<FieldWithErrorMessage name="auditor" label="Auditor" as={TextInput} disabled={waitingForStoredIssuer} />
<FieldWithErrorMessage name="custodian" label="Custodian" as={TextInput} disabled={waitingForStoredIssuer} />
<FieldWithErrorMessage
name="investmentManager"
label="Investment manager"
as={TextInput}
disabled={waitingForStoredIssuer}
/>
<FieldWithErrorMessage name="subadvisor" label="Sub-advisor" as={TextInput} disabled={waitingForStoredIssuer} />
<Box gridColumn={['span 1', 'span 2']}>
<Text>Links</Text>
</Box>
Expand Down

0 comments on commit 909545e

Please sign in to comment.