KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Display values from $_POST submit in Select2 #2821

Open IvanFornabaio opened this topic on on Sep 8, 2022 - 1 comments

IvanFornabaio commented on Sep 8, 2022

Hello, I have the exact same issue explained here: How to display default values in the SELECT2 box?

After reading and trying all the suggestions explained there, I'm still struggling to get this to work:

I have a select2 input completely working, with data-binding, placeholder, default values, all without problems. The only thing I could not get to work is to have this select showing the selected items after a form submit.

Even trying to assign hardcoded values to the defaultParamValues method, nothing gets displayed or selected.

Is there a way to get this working?

Sebastian Morales commented on Sep 14, 2022

Pls post your report class and view code for us to check it for you. Tks,

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Inputs