---
title: "Comment by Tayfun Esmer on \"OmniStudio : The Power of extending OmniscriptTypeahead\" | Hashnode"
description: "Hey Nagendra, Thanks for this great post! It is extremely useful and I already implemented it in some parts of my project. I am experiencing a problem though wh"
url: "https://hashnode.com/posts/omnistudio-the-power-of-extending-omniscripttypeahead/65182dcf6848f24685e25d36/comment/66fffad2f3216191b2930f65"
---

[Discussion](https://hashnode.com/posts/omnistudio-the-power-of-extending-omniscripttypeahead/65182dcf6848f24685e25d36)

Comment [OmniStudio : The Power of extending OmniscriptTypeahead](https://hashnode.com/posts/omnistudio-the-power-of-extending-omniscripttypeahead/65182dcf6848f24685e25d36)

[Tayfun Esmer](https://hashnode.com/@tayfunesmer)

[Oct 4, 2024](https://hashnode.com/posts/omnistudio-the-power-of-extending-omniscripttypeahead/65182dcf6848f24685e25d36/comment/66fffad2f3216191b2930f65)

Hey Nagendra,

Thanks for this great post! It is extremely useful and I already implemented it in some parts of my project. I am experiencing a problem though which I'm hoping you can guide me to the right direction. When I extend the Typeahead Block in a repeated node (EditBlock and Repeated Group) and update the JSON, the other repeated nodes in the array are being removed. I'm assuming this is because the name of the node I'm updating through dispatchOmniEvent are duplicated in the array. Any idea how should I proceed in this case? Thank you!

[Nagendra Singh](https://hashnode.com/@nagendra1401)

[Oct 5, 2024](https://hashnode.com/posts/omnistudio-the-power-of-extending-omniscripttypeahead/65182dcf6848f24685e25d36/comment/66fffad2f3216191b2930f65#reply-6700ab1cd6d34656eb458abe)

Yes the node name should be unique or else it will override the previous value. I will see if I can extends this blog or a new blob to resolve that issue as well. But the high level idea is to identify / generate the unique value in the repeated blocks and dynamically append that to the node key being created in dispatchOmniEvent.

[Tayfun Esmer](https://hashnode.com/@tayfunesmer)

[Oct 8, 2024](https://hashnode.com/posts/omnistudio-the-power-of-extending-omniscripttypeahead/65182dcf6848f24685e25d36/comment/66fffad2f3216191b2930f65#reply-6705556141f3e0b2c5eb303a)

Thanks for the response Nagendra, much appreciated! Since the node names are generated automatically and as duplicates, I ended up extending from OmniscriptBaseMixin(OmniscriptTypeAhead) and matching the items though their values to be updated with omniApplyCallResp.
