This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Mr Hound
Hi all,
In a snippet, I've got this code to initialyze my snippet properties.
[viewBag]
snippetCode = "TeacherSnippet"
snippetName = "Signature"
snippetProperties[myOptions][title] = "Make a choose"
snippetProperties[myOptions][type] = "dropdown"
snippetProperties[myOptions][1] = "Defaut"
snippetProperties[myOptions][options][1] = "Option 1"
snippetProperties[myOptions][options][2] = "Option 2"
...
Is there a way to populate the options from database table values dynamically ? Thank's
Last updated
1-1 of 1