# Style: string found, object expected

**URL:** <https://forum.inductiveautomation.com/t/style-string-found-object-expected/61540>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [July 5, 2022, 8:50pm UTC](https://forum.inductiveautomation.com/t/style-string-found-object-expected/61540 "2022-07-05T20:50:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvaught](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@rvaught](https://forum.inductiveautomation.com/u/rvaught)\
**Post date:** [July 5, 2022, 8:50pm UTC](https://forum.inductiveautomation.com/t/style-string-found-object-expected/61540/1 "2022-07-05T20:50:05Z")

</div>

The (`style`) property is having some problems, and it’s missing the (`classes`) item/dropdown, see pic. Does anyone know how to go about correcting this?

![___](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/4/c4707663b3f6e72bd0bf8068b04f126b502af728.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 5, 2022, 8:54pm UTC](https://forum.inductiveautomation.com/t/style-string-found-object-expected/61540/2 "2022-07-05T20:54:18Z")

</div>

Right click the key (`style`) and ‘Change to’ → ‘Object’.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 5, 2022, 8:55pm UTC](https://forum.inductiveautomation.com/t/style-string-found-object-expected/61540/3 "2022-07-05T20:55:50Z")

</div>

… and then add `key : value` pairs.

---

<div class="post-metadata">

**Author:** ![rvaught](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@rvaught](https://forum.inductiveautomation.com/u/rvaught)\
**Post date:** [July 5, 2022, 9:11pm UTC](https://forum.inductiveautomation.com/t/style-string-found-object-expected/61540/4 "2022-07-05T21:11:22Z")

</div>

Ah I see. it’s coming back to life now. Thank you!
