当前位置:网站首页>$watch will not trigger data change - $watch not firing on data change
$watch will not trigger data change - $watch not firing on data change
2022-07-01 00:19:00 【Technology feast】
problem :
I have a watch setup against the model of a ui-select2 dropdown (from ui-bootstrap). I have one for ui-select2 The watch settings of the drop-down list model ( come from ui-bootstrap).The watch fires on load but not on data changes and I can't figure out why. The watch triggers when it is loaded , But it will not trigger when the data changes , I don't know why? .
It isn't the usual problem of not $apply'ing the model change or not using the third parameter for equality comparison (at least from my code). Do not apply model changes or use the third parameter for equality comparison ( At least from my code ) Not a common problem .
What do I need to do to get it to fire? What I need to do to make it burn ?
Here is a plunk demonstrating the issue. This is a demonstration of the problem plunk.
Solution :
Reference resources : https://stackoom.com/en/question/1CfJN边栏推荐
- 2022-2028 global mobile scanning radiology room industry survey and trend analysis report
- Red Hat将在Project Atomic上运用容器负载服务器
- DNS server setup, forwarding, master-slave configuration
- composer
- Tide - rust web framework based on async STD
- How does the VR cloud exhibition hall bring vitality to offline entities? What are the functions?
- How to edit special effects in VR panorama? How to display detailed functions?
- lvm-snapshot:基于LVM快照的备份之准备工作
- Is it safe to choose mobile phone for stock trading account opening in Hangzhou?
- Yboj mesh sequence [Lagrange interpolation]
猜你喜欢

Vmware16 installing win11 virtual machine (the most complete step + stepping on the pit)

Software supply chain security risk pointing North for enterprise digitalization and it executives

5G智慧建筑解决方案2021

CentOS installation starts redis

2022-2028 global capsule shell industry research and trend analysis report

Design e-commerce seckill system

How does the VR cloud exhibition hall bring vitality to offline entities? What are the functions?

The college entrance examination in 2022 is over. Does anyone really think programmers don't need to study after work?

Shell multitasking to download video at the same time

Redis - how to understand publishing and subscribing
随机推荐
[leetcode] [SQL] notes
When is it appropriate to replace a virtual machine with a virtual machine?
LVM snapshot: backup based on LVM snapshot
Software engineering best practices - project requirements analysis
Never use redis expired monitoring to implement scheduled tasks!
2022-2028 global single travel industry research and trend analysis report
Combining online and offline, VR panorama is a good way to transform furniture online!
在指南针上买基金安全吗?
1175. prime number arrangement / Sword finger offer II 104 Number of permutations
Development of wireless U-shaped ultrasonic electric toothbrush
2022-2028 global public address fire alarm system industry research and trend analysis report
When we look at the industrial Internet, we always look at it from the opposite of the consumer Internet
The programmer's girlfriend gave me a fatigue driving test
Rust controls Dajiang programmable UAV Tello
Quick start of wechat applet -- project introduction
BeanUtils. Copyproperties() vs. mapstruct
Vmware16 installing win11 virtual machine (the most complete step + stepping on the pit)
Repetition is the mother of skill
Operation record of reinitialization instance of Dameng database
Is it safe to choose mobile phone for stock trading account opening in Hangzhou?