#Impossible to add a [(ngModel)] to an input, and function triggered each time the input is modified

6 messages · Page 1 of 1 (latest)

eternal oasis
#

Hi, I can't add a [(ngModel)] to my input type range (I don't get any errors, but it completely prevents the component from being displayed). What's more, every time I move the input range, it always triggers my getComponents function (which is in the identity.service.ts file) and the value is not set.

#

identity.service.ts :

edgy lichen
#

Please read #how-to-get-help and come up with a minimal reproduction of your issue, on Stackblitz.

eternal oasis