Multilanguage dropdown/select non-required issue

Hi,

I’m using select field on files picker with multilanguage TR and EN (Default lang is TR)

My field syntax:

fulltextpdf:
    label: Full Text PDF
    type: select
    options: query
    translate: optional // for each language data is different
    query:
        fetch: files
        value: '{{filename}}'
        text: '{{filename}}'
    required: false

Error on following processes on fulltextpdf field:

  1. TR field is selected
  2. Switch language to EN
  3. EN field blank to selected
  4. Saving error as “Please fill in all fields correctly”

I found the temp solution to save with following processes on fulltextpdf field:

  1. TR field is leave blank and save
  2. Switch language to EN
  3. EN field select and save
  4. Switch language to TR
  5. TR field select and save

Tested on Kirby 2.5.5 and 2.5.12 versions.

This is bug or i missed anything?
Thanks

Yes, the issue is that while you can save a blank select, the select field jumps back to the first entry. And you cannot overwrite a saved value with a blank select in the non-default language.

I would consider this a bug.

Thanks for reply.

Is there an opened issue on Github or should I open it?

I couldn’t find one. Maybe you can take a look as well and if you can’t find anything, please create one? Thank you!