I am changing Element type in a row of table from
<span class="phoneElement" data-bind="text: Phone"></span>
to
<input type="text" data-bind="textInput:$data.Phone"/>
On a button Click 'Edit', So that I make it editable to user to add new value.
But the issue I am facing is : When it changes to textbox type, it does not hold the data binding (old value) or newly entered data (fresh data). It looks like data binding is not transferred from span to Input.