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 29, 2024
1 parent 6554ee3 commit 876c076
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 876c076

Please sign in to comment.