@bbl-digital/snorre 3.0.55 → 3.0.56
Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundle.js
CHANGED
@@ -30807,7 +30807,7 @@
|
|
30807
30807
|
const _isDate = type === 'date';
|
30808
30808
|
|
30809
30809
|
let valueToUse = _isDate ? handleDateToStringConvertion(value, showSeconds) : value !== null ? value : _defaultValue;
|
30810
|
-
const [validatedTime] = validateTimeAndCursor(showSeconds, valueToUse,
|
30810
|
+
const [validatedTime] = validateTimeAndCursor(showSeconds, valueToUse, _defaultFilledValue, _divider);
|
30811
30811
|
const [inputStateValue, setInputStateValue] = React.useState(validatedTime); // Loads of logic to handle string input with divider
|
30812
30812
|
|
30813
30813
|
const onInputChange = async (event, callback) => {
|
@@ -37,7 +37,7 @@ const TimePicker = ({
|
|
37
37
|
const _isDate = type === 'date';
|
38
38
|
|
39
39
|
let valueToUse = _isDate ? handleDateToStringConvertion(value, showSeconds) : value !== null ? value : _defaultValue;
|
40
|
-
const [validatedTime] = validateTimeAndCursor(showSeconds, valueToUse,
|
40
|
+
const [validatedTime] = validateTimeAndCursor(showSeconds, valueToUse, _defaultFilledValue, _divider);
|
41
41
|
const [inputStateValue, setInputStateValue] = useState(validatedTime); // Loads of logic to handle string input with divider
|
42
42
|
|
43
43
|
const onInputChange = async (event, callback) => {
|
@@ -37,7 +37,7 @@ const TimePicker = ({
|
|
37
37
|
const _isDate = type === 'date';
|
38
38
|
|
39
39
|
let valueToUse = _isDate ? handleDateToStringConvertion(value, showSeconds) : value !== null ? value : _defaultValue;
|
40
|
-
const [validatedTime] = validateTimeAndCursor(showSeconds, valueToUse,
|
40
|
+
const [validatedTime] = validateTimeAndCursor(showSeconds, valueToUse, _defaultFilledValue, _divider);
|
41
41
|
const [inputStateValue, setInputStateValue] = useState(validatedTime); // Loads of logic to handle string input with divider
|
42
42
|
|
43
43
|
const onInputChange = async (event, callback) => {
|