且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Typescript和Knockout.js

更新时间:2023-11-30 22:24:16

好,我发现了这个问题,它很简单,但是老实说是在我的雷达范围内通过的.问题出在我的html中,要在此输入上编写的正确属性是value而不是text,我在做另一个教程,其中我必须将数据绑定到<p>标记上,这就是text.

Ok I have found the problem, it was pretty simple, but honestly passed under my radar. The problem was in my html, the correct property to write on this input was value and not text, I was doing another tutorial where I had to bind data on a <p> tag, and that is text.