Page 1 of 1

MVC cant have hard coded drop down list options

Posted: August 23rd, 2022, 2:44 pm
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?

Re: MVC cant have hard coded drop down list options

Posted: August 23rd, 2022, 2:59 pm
by CathyC
Here is how it is set up in the model
image.png

Re: MVC cant have hard coded drop down list options

Posted: August 24th, 2022, 8:57 am
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.

Re: MVC cant have hard coded drop down list options

Posted: September 13th, 2022, 3:56 pm
by JustinVanRegenmorter
This issue has been resolved in DesignTime Revision 2394 and RunTime Revision 1057.