Skip to content

Commit

Permalink
Merge pull request #2454 from SpareBank1/develop_fix-types
Browse files Browse the repository at this point in the history
fix(ffe-datepicker-react): event type onBlur
  • Loading branch information
tuva-odegard authored Dec 19, 2024
2 parents 55bc284 + e38c307 commit 00924d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { isDateInputWithTwoDigitYear, validateDate } from '../util/dateUtil';
import debounce from 'lodash.debounce';
import classNames from 'classnames';
import { getSimpleDateFromString } from '../datelogic/simpledate';
import { ErrorFieldMessage } from '@sb1/ffe-form-react/src/message';
import { ErrorFieldMessage } from '@sb1/ffe-form-react';
import i18n from '../i18n/i18n';
import { isMonth } from '../types';

Expand All @@ -25,7 +25,7 @@ export interface DatepickerCompProps {
'aria-describedby'?: React.ComponentProps<'input'>['aria-describedby'];
ariaDescribedby?: React.ComponentProps<'input'>['aria-describedby'];
/** Triggered when focus leaves one of the fields (dd, mm, yyyy), and the next focused element is not one of these fields.*/
onBlur?: (evt: React.FocusEvent) => void;
onBlur?: (evt: React.FocusEvent<HTMLElement>) => void;
calendarAbove?: boolean;
id?: string;
maxDate?: string | null;
Expand Down

0 comments on commit 00924d0

Please sign in to comment.