Thank you for the help. This had solved my issue.
I just had a query why we cannot just return the bounded property in getValue().
The control is binded [(value)]="selectedVal" and we can simply return this selectedVal in getValue().
Why we have to use this line: return (document.getElementById("numeric") as any).ej2_instances.element.value;
Is this a workaround for some bug?