Actual
Trying to clear one character in the test data value but its deletes the complete text.
Expected
It should not delete complete text
Fix:
The backspace event triggers the selectDataType function causing it to assign the data value to empty, hence we are restricting this call. Removing the call could break the functionality in multiple places, hence restricting the condition alone.
JIRA: https://testsigma.atlassian.net/browse/TOS-1042
Actual Trying to clear one character in the test data value but its deletes the complete text.
Expected It should not delete complete text
Fix: The backspace event triggers the selectDataType function causing it to assign the data value to empty, hence we are restricting this call. Removing the call could break the functionality in multiple places, hence restricting the condition alone.