is it possible to edit directly in an input tag the value of the ng-Model if the latter is a string value ?
This is the JavaScript object:
fields: [
{id: 5,
name: "boolean",
type: "BOOL",
value: "true"
}]
This is the html code
<input class="" type="checkbox" ng-model="line.value" data-ng-checked="line.value"/>
The goal would be to directly edit the html tag without modifying the json file.
By avoiding having the following error message
"Error: ngModel:nonassign Non-Assignable Expression"
if you have a solution?
cordially
ng-modelandng-checkedtogether. Useng-modelfor two-way binding. Useng-checkedfor one-way binding. Read AngularJS input type=checkbox Directive API Reference