Skip to content

Commit

Permalink
feat/services-logic (#134)
Browse files Browse the repository at this point in the history
* feat(context): adding interface

* feat(context): adding interface

* feat(context): adding form

* feat(context): adding form

* feat(context): adding form

* feat(context): adding style
  • Loading branch information
JyTosTT authored Oct 10, 2023
1 parent 0a86de8 commit 79cb496
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions front/src/views/organisms/ServiceForm/LocalisationForm.organism.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,18 @@ const LocalisationFormOrganism = ({ entityForm: serviceForm, onChange, onForm }:
const value = serviceForm[field.key as keyof TEntity]

return (
<Component
label={field.label}
type={field.type}
name={field.key}
maxLength={field.maxLength}
entity={serviceForm}
value={value}
disabled={field.disabled}
onChange={onChange}
key={index}
/>)
<div className="mt-2" key={index}>
<Component
label={field.label}
type={field.type}
name={field.key}
maxLength={field.maxLength}
entity={serviceForm}
value={value}
disabled={field.disabled}
onChange={onChange}
/>
</div>)
})
}

Expand Down

0 comments on commit 79cb496

Please sign in to comment.