# Perspective Button Component Enable Rendering

**URL:** <https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 6, 2023, 10:18am UTC](https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623 "2023-06-06T10:18:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Leech](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alex_leech/32/39391_2.png) [@Alex\_Leech](https://forum.inductiveautomation.com/u/Alex_Leech)\
**Post date:** [June 6, 2023, 10:18am UTC](https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623/1 "2023-06-06T10:18:52Z")

</div>

Hullo,

Noting what looks to be a ~~bug~~ feature. Cant find mention on a quick search.

When adding a 'Button' component in perspective, if its enabled property is set to false, it still renders as active in the designer. To see its disabled state, the preview mode has to be entered, or the live project opened.

Pretty trival, and might be as intended! But thought I'd note as a nice to have 🙂

Alex

---

<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:** [June 6, 2023, 11:56am UTC](https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623/2 "2023-06-06T11:56:07Z")

</div>

Pretty sure it might be because otherwise you wouldn't actually be able to click on it to select it

---

<div class="post-metadata">

**Author:** ![Alex\_Leech](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alex_leech/32/39391_2.png) [@Alex\_Leech](https://forum.inductiveautomation.com/u/Alex_Leech)\
**Post date:** [June 6, 2023, 1:11pm UTC](https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623/3 "2023-06-06T13:11:48Z")

</div>

This is a very good point!  
But when 'designing' it should still be selectable as an object as we're not trying to push the button unless in preview mode (or at least in the project brower 🙂 )

---

<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:** [June 6, 2023, 3:47pm UTC](https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623/4 "2023-06-06T15:47:50Z")

</div>

Right, but the design interface in Perspective is still a web browser, and subject to web browser limitations. It's part of the contract between web browsers and web pages that an element marked as 'disabled' can't generate click events. We'd have to 'fake' disabled state in the designer somehow, which introduces a new problem: "why does my disabled button look different in the browser than in the actual user session?"

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [June 25, 2024, 11:03pm UTC](https://forum.inductiveautomation.com/t/perspective-button-component-enable-rendering/74623/5 "2024-06-25T23:03:55Z")

</div>

It isn't more than a minor irritation for me, but the one shot button does appear disabled in the designer and still is clickable, is there a reason the regular Button can't do the same?
