Skip to content

Commit

Permalink
fix: use '' instead of null as empty option
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaiir committed Sep 30, 2024
1 parent d0dd697 commit e4f8c49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { useService } from '../hooks';
import { countDecimals, INPUTS, isValidNumber, OPTIONS_INPUTS } from '../Util';
import { useCallback } from 'preact/hooks';

export const EMPTY_OPTION = null;
export const EMPTY_OPTION = '';

export function DefaultValueEntry(props) {
const { editField, field } = props;
Expand Down

0 comments on commit e4f8c49

Please sign in to comment.