Hi Mahesh,
A slight code correction is required in the shared implementation to make it work. Below mentioned highlighted is the required code correction.
$(function() {
$('#' + $parameters.InputId + '').val('');
}());
Instead of using the self invoked function, I would suggest a single statement to clear the input value.
$('#' + $parameters.InputId + '').val('');
or else you can go with the pure JS approach mentioned by Shahaji.
Refer to the attached oml
I hope this helps you!
Kind regards,
Benjith Sam