# Set default value for plugins.dialogs.showSelectDialog()

**URL:** <https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583>\
**Category:** Questions\
**Created:** [September 30, 2021, 8:20am UTC](https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583 "2021-09-30T08:20:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [September 30, 2021, 8:20am UTC](https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583/1 "2021-09-30T08:20:23Z")

</div>

When using this plugin for a list of options, the initial select entry is always blank; it is possible to set the first option in the select as the default (this seems to be how it worked in S5).

Is a bit disconcerting to see the blank line each time until the drop down is selected.

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [October 1, 2021, 12:35pm UTC](https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583/2 "2021-10-01T12:35:04Z")

</div>

I had a look at this a while ago.  
Although it shouldn’t be hard to make it work, I think it needs a change in the 3rd party package that Servoy is using.

Short term, you can create your own form which looks like the dialogs and create the behaviour you want.  
This is the way I decided to go.

You can always file a feature request for this at [support.servoy.com](http://support.servoy.com)  
Will definitely vote for it ![:-)]( "Smile")

---

<div class="post-metadata">

**Author:** ![pitc](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@pitc](https://forum.servoy.com/u/pitc)\
**Post date:** [October 2, 2021, 6:11pm UTC](https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583/3 "2021-10-02T18:11:01Z")

</div>

My clients are also “confused” when they do not see an option.  
I will also vote for it.

---

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [October 4, 2021, 5:21am UTC](https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583/4 "2021-10-04T05:21:47Z")

</div>

Really appreciate the responses ![:-)]( "Smile")

Have created the feature request at this link: [https://support.servoy.com/browse/SVY-16516](https://support.servoy.com/browse/SVY-16516)

---

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [October 4, 2021, 5:24am UTC](https://forum.servoy.com/t/set-default-value-for-plugins-dialogs-showselectdialog/20583/5 "2021-10-04T05:24:46Z")

</div>

@mboegem - how did you go about getting a return value from a dialog box you created yourself?
