You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Binding from the form to the model works as expected, but I wanted to add some weeks-incremental buttons and I noticed that changes applied directly to the model are not reflected on the actual field.
To reproduce, and making sure that it was not something caused by my specific setup, I went to the API documentation page for input and put some code in the browser's console (after inspecting a random element in the output box, and selecting the proper frame as the current context): angular.element($0).scope().example.value.setDate(20); angular.element($0).scope().$apply().
The result I'm getting is an update on the text value only; am I wrong in assuming that this should result in an updated input field as well?
Binding from the form to the model works as expected, but I wanted to add some weeks-incremental buttons and I noticed that changes applied directly to the model are not reflected on the actual field.
To reproduce, and making sure that it was not something caused by my specific setup, I went to the API documentation page for
inputand put some code in the browser's console (after inspecting a random element in the output box, and selecting the proper frame as the current context):angular.element($0).scope().example.value.setDate(20); angular.element($0).scope().$apply().The result I'm getting is an update on the text value only; am I wrong in assuming that this should result in an updated input field as well?