New component
This commit is contained in:
parent
257da50a83
commit
d7fadb74d6
1 changed files with 26 additions and 0 deletions
26
src/components/RegistrationForm/RegistrantionForm.tsx
Normal file
26
src/components/RegistrationForm/RegistrantionForm.tsx
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
import { Button, Logo, Link, Box, Page, Form, Row, Column, Image, Copyright, OptimizeLogo, Display, Padding } from '../../../fwt/'
|
||||||
|
import Input from '../../components/Input/Input'
|
||||||
|
import Combobox from '../../components/Combobox/Combobox'
|
||||||
|
import { ofetch } from 'ofetch'
|
||||||
|
import { createSignal } from 'solid-js'
|
||||||
|
|
||||||
|
const api = import.meta.env.BACKEND
|
||||||
|
const assessors = await ofetch(api + 'get-list-assessors', { parseResponse: JSON.parse })
|
||||||
|
const assessorsIDList = assessors.result
|
||||||
|
const assessorsNameList = assessors.result2
|
||||||
|
|
||||||
|
const [sample, setSample] = createSignal('')
|
||||||
|
|
||||||
|
export default () => {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Column>
|
||||||
|
<Form>
|
||||||
|
<span>Name</span>
|
||||||
|
{/* <Combobox placeholder="Enter Name" value="1" onChange={() => console.log(1)} /> */}
|
||||||
|
<span>{assessorsNameList}</span>
|
||||||
|
</Form>
|
||||||
|
</Column>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue