You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
html-duration-picker.js contains a console log on line 174 in the function insertFormatted. This console log outputs everytime you input a value in the input. This console.log should be removed
constinsertFormatted=(inputBox,secondsValue,dispatchSyntheticEvents,adjustmentFactor=1)=>{consthideSeconds=shouldHideSeconds(inputBox);constformattedValue=secondsToDuration(secondsValue,hideSeconds);constexistingValue=inputBox.value;// Don't use setValue method here because// it breaks the arrow keys and arrow buttons control over the inputinputBox.value=formattedValue;// save current cursor location for automatic increase// manually trigger an "input" event for other event listenersif(dispatchSyntheticEvents!==false){if(existingValue!=formattedValue){inputBox.dispatchEvent(createEvent('change',{bubbles: true,cancelable: true}));}inputBox.dispatchEvent(createEvent('input'));}inputBox.setAttribute('data-adjustment-factor',adjustmentFactor);console.log({adjustmentFactor});// <--------------highlightTimeUnitArea(inputBox,adjustmentFactor);};
To Reproduce
Steps to reproduce the behavior:
Add the input in an html file
View the console.log for messages coming in
Expected behavior
The console output console log messages.
The text was updated successfully, but these errors were encountered:
Describe the bug
html-duration-picker.js contains a console log on line 174 in the function insertFormatted. This console log outputs everytime you input a value in the input. This console.log should be removed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The console output console log messages.
The text was updated successfully, but these errors were encountered: