I'm trying to exchange a checkbox with a selectbar component ( within a non templateform).
It seems to work with updating the values from the form to the database , but it fails when using a edit dialog to initialize the value :
if value in database was False it should select and initialize the option with the value "false" or "0", the selected value should look like the image above. But in my case none of the options are selected.
So the question is why the selectbar component is not initilizing with the data from the database.