Pre-selecting Choice element value

Hi Baserow community! Happy to be part of the party!

I’ve created a choice element with four hardcoded option values, these are also in my table field. I want to load the data out of the table, so I’m able to edit it. With simple text input this goes fine, however, with a choice element it’s not pre-selecting any value in preview or published.

The option values include “contact”. For value I typed “contact”. In the editor it shows “contact” as the selected value, in the preview and published it says “Make a choice”. I loaded the Lightweight CRM template, here I see the same behaviour in the /contact-edit page.

What is going wrong? Thank you!

Hi @rov, I am a bit struggling to udnerstand exactly what is happening from your description alone. Would you be able to provide some screenshots or a short recording that demonstrates this behaviour so I can better advise you on the next steps?

Sorry, I found it difficult to explain :slight_smile: Here are two screenshots. Left is in the editor: you see the value “contact” is showing in the dropdown. The right is published (same goes for preview): here the value is not selected, but it shows “Make a choice”. (I had to combine the images as I’m not allowed to add two attachments)

Hey @rov, have you pre-defined the placeholder here:

No I have not. So do I need to fill both value and placeholder? My idea is not to fill it with text, but with the value of the datasource so I can edit it via this form. Thank you!

The placeholder needs to be filled out if you want to display a specific value; otherwise, it will show “Make a choice.” :slightly_smiling_face: