# \[BUG\] Perspective Dropdown searchParam not writing with Event Script

**URL:** <https://forum.inductiveautomation.com/t/bug-perspective-dropdown-searchparam-not-writing-with-event-script/46224>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 30, 2021, 9:45pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-dropdown-searchparam-not-writing-with-event-script/46224 "2021-04-30T21:45:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuel.kerr](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@samuel.kerr](https://forum.inductiveautomation.com/u/samuel.kerr)\
**Post date:** [April 30, 2021, 9:45pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-dropdown-searchparam-not-writing-with-event-script/46224/1 "2021-04-30T21:45:44Z")

</div>

I am using Ignition 8.1.1 and want to assign a value based off the searchParam in the perspective dropdown. It appears like the searchParam is not recognized by any Events’ script.

 ![dropdown searchparam](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/d/0dc510ef2645bad1a2a860d561d53989b3ba8ead.jpeg)  
 ![dropdown searchparam2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/7/772dd2fbd57e3dc73215b1e46281d57f49cb5dd2.jpeg)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 2, 2021, 5:08pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-dropdown-searchparam-not-writing-with-event-script/46224/2 "2021-05-02T17:08:32Z")

</div>

You can add a change event script to the searchParam preopty itself. Right click on the property and select add change script

---

<div class="post-metadata">

**Author:** ![pratik.patel](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pratik.patel](https://forum.inductiveautomation.com/u/pratik.patel)\
**Post date:** [July 19, 2022, 8:47pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-dropdown-searchparam-not-writing-with-event-script/46224/3 "2022-07-19T20:47:51Z")

</div>

Tried modifying the value of searchParam using property change script and the search param “A-075” does exist in list of options but not searching.

 ![Screenshot 2022-07-19 144733](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/d/bdc1c0d5ee33b706b8d12847908efb74288c4802.jpeg)
