MVC cant have hard coded drop down list options

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

MVC cant have hard coded drop down list options

Unread post by CathyC »

image.png
I was told by the internal team that mvc cant have options for a drop down list be hard coded and should come from the model or controller. in 5.1 classic, this is possible. is there something about mvc that makes this not make sense to do?
Last edited by CathyC on May 3rd, 2023, 11:50 am, edited 1 time in total. word count: 48

Tags:
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: MVC cant have hard coded drop down list options

Unread post by CathyC »

Here is how it is set up in the model
image.png
word count: 10
SteveCap
Posts: 327
Joined: August 26th, 2021, 9:18 am
Contact:

Re: MVC cant have hard coded drop down list options

Unread post by SteveCap »

CSV is not a good way to handle the data. What if there is a comma in the data, it would break. If wanting to specify static values you must click the pencil to edit.
image.png
Then you can add multiple values.
image.png
This is currently not saving and task #10720 has been created to fix this. So currently all the data needs to come from the model.
word count: 66
JustinVanRegenmorter
Posts: 533
Joined: August 26th, 2021, 9:56 am
Contact:

Re: MVC cant have hard coded drop down list options

Unread post by JustinVanRegenmorter »

This issue has been resolved in DesignTime Revision 2394 and RunTime Revision 1057.
word count: 13
Post Reply