yiisoft/yii2 — pull request #4749 by akger1379 (2014-08-19 09:40:35+00:00)
Title: use uniqid() to generate widget IDs

Problem:
Rendering Widget within an AJAX-Request can result in duplicate HTML-ID's. Yii and Yii2 using a simple count method to generate new ID's.

Solution:
Use microtime() or better uniqid() to generate an ID's which is dependent from the current time. No more ID conflicts will get in your way.