mirror of
https://github.com/Team4388/ScoutingApp2022.git
synced 2026-06-08 16:28:04 -06:00
update
This commit is contained in:
@@ -7,14 +7,53 @@ import componentMapper from '@data-driven-forms/blueprint-component-mapper/compo
|
||||
import FormTemplate from '@data-driven-forms/blueprint-component-mapper/form-template';
|
||||
|
||||
const schema = {
|
||||
fields: [{
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
name: 'name',
|
||||
label: 'Your name',
|
||||
isRequired: true,
|
||||
// validate: [{type: validatorTypes.REQUIRED}],
|
||||
default: 'test'
|
||||
}]
|
||||
fields: [
|
||||
{
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
name: 'name',
|
||||
label: 'Your name',
|
||||
isRequired: true,
|
||||
// validate: [{type: validatorTypes.REQUIRED}],
|
||||
default: 'Dave doe'
|
||||
},
|
||||
{
|
||||
name: "scoutedteam",
|
||||
label: "Team Scouted",
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
isRequired: true
|
||||
},
|
||||
{
|
||||
name: "shooterpoints",
|
||||
label: "Shooter Points",
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
isRequired: true
|
||||
},
|
||||
{
|
||||
name: "climberpoints",
|
||||
label: "Climber Points",
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
isRequired: true
|
||||
},
|
||||
{
|
||||
name: "amountclimbed",
|
||||
label: "Amount of rungs Climbed",
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
isRequired: true
|
||||
},
|
||||
{
|
||||
name: "amountshot",
|
||||
label: "Amount of balls shot",
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
isRequired: true
|
||||
},
|
||||
{
|
||||
name: "amountclimbed",
|
||||
label: "Amount of balls in",
|
||||
component: componentTypes.TEXT_FIELD,
|
||||
isRequired: true
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
const InputPage = () => {
|
||||
|
||||
Reference in New Issue
Block a user