mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
🐛 Possibly fix #5
This commit is contained in:
parent
315e3721f4
commit
60d5cb87a1
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,7 @@ export interface FormPairProps extends Types.BluelibProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export function FormPair({id, label, input, validity, bluelibClassNames, customColor, disabled}: FormPairProps): JSX.Element {
|
export function FormPair({id, label, input, validity, bluelibClassNames, customColor}: FormPairProps): JSX.Element {
|
||||||
if(!id) {
|
if(!id) {
|
||||||
id = UUID.v4()
|
id = UUID.v4()
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ export function FormPair({id, label, input, validity, bluelibClassNames, customC
|
||||||
id: id,
|
id: id,
|
||||||
bluelibClassNames: mergeClassNames(bluelibClassNames, validityClass),
|
bluelibClassNames: mergeClassNames(bluelibClassNames, validityClass),
|
||||||
customColor: customColor,
|
customColor: customColor,
|
||||||
disabled: disabled,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
|
|
Loading…
Reference in a new issue