Input element problem

It doesn’t show any errors, it just does not read the input value mostly when the input is populated on page ready from a