Skip to content

Commit

Permalink
Update FormControl.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubenoo authored and Ruben Oosterink committed Jan 15, 2024
1 parent 8518c68 commit 9845297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/FormControl.tsx
Expand Up @@ -18,11 +18,12 @@ export interface FormControlProps
plaintext?: boolean;
readOnly?: boolean;
disabled?: boolean;
value?: string | string[] | number;
value?: string | string[] | ReadonlyArray<string> | number;
onChange?: React.ChangeEventHandler<FormControlElement>;
type?: string;
isValid?: boolean;
isInvalid?: boolean;
placeholder?: string | undefined;
}

const propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion src/FormLabel.tsx
Expand Up @@ -102,7 +102,7 @@ const FormLabel: BsPrefixRefForwardingComponent<'label', FormLabelProps> =
if (column)
return (
<Col
ref={ref as React.ForwardedRef<HTMLLabelElement>}
ref={ref as React.Ref<HTMLLabelElement>}
as="label"
className={classes}
htmlFor={htmlFor}
Expand Down

0 comments on commit 9845297

Please sign in to comment.