mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
fix: Correction de la désactivation des spécialités lorsqu'on
sélectionne un enseignant [#2]
This commit is contained in:
@ -22,7 +22,6 @@ const ClassForm = ({ classe, onSubmit, isNew, specialities, teachers }) => {
|
||||
};
|
||||
|
||||
const handleSliderChange = (value) => {
|
||||
console.log('update value : ', value)
|
||||
setFormData(prevFormData => ({
|
||||
...prevFormData,
|
||||
tranche_age: value
|
||||
@ -161,7 +160,7 @@ const ClassForm = ({ classe, onSubmit, isNew, specialities, teachers }) => {
|
||||
onChange={handleChange}
|
||||
className="form-radio h-3 w-3 text-emerald-600 focus:ring-emerald-500 hover:ring-emerald-400 checked:bg-emerald-600 checked:h-3 checked:w-3"
|
||||
/>
|
||||
<label htmlFor={`speciality-${teacher.id}`} className="ml-2 block text-sm text-gray-900 flex items-center">
|
||||
<label htmlFor={`teacher-${teacher.id}`} className="ml-2 block text-sm text-gray-900 flex items-center">
|
||||
{teacher.nom} {teacher.prenom}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user