# Perspective dropdown - disable text entry

**URL:** <https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193>\
**Category:** Ignition\
**Tags:** perspective, ignition81, vision\
**Created:** [July 22, 2022, 5:49am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193 "2022-07-22T05:49:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [July 22, 2022, 5:49am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/1 "2022-07-22T05:49:46Z")

</div>

Why is there no property to disable text entry on a Perspective dropdown?  
Similar to the Editable property in the Vision text components.  
Surely non-editable dropdowns are more widely used than dropdowns that need the user to type text.

I’ve tried adding the `cursor: pointer` style to both the dropdown `style` and `dropdownOptionStyle` to try “hack” around it.  
But it still shows the cursor: text when hovering over the text element of the dropdown.

Sorry i can’t seem to get a screenshot of this behavior, the pointer seems to disappear during screen capture.

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [July 22, 2022, 6:02am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/2 "2022-07-22T06:02:41Z")

</div>

It’s in the documentation:  
[Perspective - Dropdown - Ignition User Manual 8.1 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Dropdown)

`allowCustomOptions`

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [July 22, 2022, 6:15am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/3 "2022-07-22T06:15:44Z")

</div>

Thats not the same thing. I’ve already got that property disabled.  
There is a subtle difference to what i’m asking.  
That will prevent the user being able to add their own options, but i want to get rid of the “text” cursor type when hovering over the dropdown component.  
It is implying that you can type something, when you actually shouldn’t be able to.

---

<div class="post-metadata">

**Author:** ![dustin.cooper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dustin.cooper/32/29963_2.png) [@dustin.cooper](https://forum.inductiveautomation.com/u/dustin.cooper)\
**Post date:** [July 22, 2022, 7:10am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/4 "2022-07-22T07:10:29Z")

</div>

Have you tried setting your `props.search.enabled` to `False`?

---

<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 22, 2022, 7:26am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/5 "2022-07-22T07:26:33Z")

</div>

Try `props.style.cursor : pointer`.

![Dropdown cursor](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/2/42e64986a6a80dde7b1236be96bc391588c5b300.gif)

This works on 8.1.18.

[https://docs.inductiveautomation.com/display/DOC81/Style+Reference#StyleReference-MiscMenu](https://docs.inductiveautomation.com/display/DOC81/Style+Reference#StyleReference-MiscMenu)

Set to “default” for the standard “arrow” cursor (which isn’t listed in the documentation). I’ve put in a request to [docs@inductiveautomation.com](mailto:docs@inductiveautomation.com) to add it into the docs.

* * *

The full list is available on [cursor - CSS: Cascading Style Sheets | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor).

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [July 24, 2022, 8:40pm UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/6 "2022-07-24T20:40:12Z")

</div>

Hi Transistor,

I’ve already set those styles in my initial post.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/5/25b6e823ce931aa5bbddfaff42b4214845070c9b.png)

Looks like the cursor reverts to the “text” one, but only in specific areas of the dropdown:

![ezgif.com-gif-maker](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/2/12881e74a91d853e453cbb4da29b62d393212367.gif)

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [July 24, 2022, 11:27pm UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/7 "2022-07-24T23:27:32Z")

</div>

> [@Perspective dropdown - disable text entry](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/4):
>
> Have you tried setting your props.search.enabled to False?

This is the answer....

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [July 25, 2022, 1:05am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-disable-text-entry/62193/8 "2022-07-25T01:05:23Z")

</div>

Sorry missed that post over the weekend…

That did indeed fix it. Cheers.
