当前位置:网站首页>$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边栏推荐
- Fh6908a negative pole turn off synchronous rectification analog low voltage drop diode control IC chip tsot23-6 ultra low power rectifier 1W power consumption < 100ua static replacement mp6908
- 2022-2028 global 3D printing ASA consumables industry research and trend analysis report
- How to edit special effects in VR panorama? How to display detailed functions?
- [UML] UML class diagram
- 五分钟搞懂探索式测试
- C language array interception, C string by array interception method (c/s)
- 2022-2028 global electric yacht industry research and trend analysis report
- Techo youth 2022 academic year college open class: behind the live broadcast of Lianmai, explore how to apply audio and video technology
- On the application of cluster analysis in work
- C WinForm program interface optimization example
猜你喜欢

Random ball size, random motion collision

Analysis of 8253a register

Gateway service gateway

2022-2028 global carbon fiber room scraper system industry research and trend analysis report

2022-2028 global public address fire alarm system industry research and trend analysis report

女朋友说:你要搞懂了MySQL三大日志,我就让你嘿嘿嘿!

New trend of embedded software development: Devops

SSM integration process (integration configuration, function module development, interface test)
![[leetcode] [SQL] notes](/img/8d/160a03b9176b8ccd8d52f59d4bb47f.png)
[leetcode] [SQL] notes

VR panorama adds contrast function to make the display of differentiation effect more intuitive!
随机推荐
HP notebook disable touchpad after mouse is inserted
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
In depth understanding of jetpack compose kernel: slottable system
lvm-snapshot:基于LVM快照的备份
How to close an open DNS resolver
[PHP] self developed framework qphp, used by qphp framework
Ybtoj exchange game [tree chain splitting, line segment tree merging]
Five minutes to understand the exploratory test
Random ball size, random motion collision
Query points in MATLAB Delaunay triangulation
如何关闭一个开放的DNS解析器
2022-2028 global carbon fiber room scraper system industry research and trend analysis report
On the application of cluster analysis in work
CesiumJS 2022^ 源码解读[6] - 三维模型(ModelExperimental)新架构
PS2 handle-1 "recommended collection"
Redis - how to understand publishing and subscribing
76 page comprehensive solution 2022 for smart Logistics Park (download attached)
2022-2028 global ultra high purity electrolytic iron powder industry research and trend analysis report
Yboj mesh sequence [Lagrange interpolation]
Design e-commerce seckill system