# Can't change widget type of pre-defined form elements

**URL:** <https://discourse.openondemand.org/t/cant-change-widget-type-of-pre-defined-form-elements/1000>\
**Category:** Feature Requests and Roadmap Discussion\
**Tags:** feature-request\
**Created:** [July 1, 2020, 1:08pm UTC](https://discourse.openondemand.org/t/cant-change-widget-type-of-pre-defined-form-elements/1000 "2020-07-01T13:08:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dugan](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@dugan](https://discourse.openondemand.org/u/dugan)\
**Post date:** [July 1, 2020, 1:08pm UTC](https://discourse.openondemand.org/t/cant-change-widget-type-of-pre-defined-form-elements/1000/1 "2020-07-01T13:08:04Z")

</div>

I tried to change the bc\_account widget type to “select” and found that it doesn’t work because  
/var/www/ood/apps/sys/dashboard/lib/smart\_attributes/attributes/bc\_account.rb hardcodes it to  
“test\_field”. I have worked around this but I’d like to request that forms be allowed to change the  
widget type of this element. I think simply removing the widget method definition from this file  
will do the trick. It might be useful to also make a similar change to bc\_queue.

Thanks.

–Mike

---

<div class="post-metadata">

**Author:** ![efranz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/efranz/32/27_2.png) [@efranz](https://discourse.openondemand.org/u/efranz)\
**Post date:** [July 1, 2020, 3:20pm UTC](https://discourse.openondemand.org/t/cant-change-widget-type-of-pre-defined-form-elements/1000/2 "2020-07-01T15:20:35Z")

</div>

Ends up there was an open issue for this [https://github.com/OSC/ondemand/issues/223](https://github.com/OSC/ondemand/issues/223). I marked that for OnDemand 2.0 so we will address that this year.

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 4:11pm UTC](https://discourse.openondemand.org/t/cant-change-widget-type-of-pre-defined-form-elements/1000/3 "2022-05-26T16:11:38Z")

</div>

Closed on May 26, 2022, 4:11pm UTC


