We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm a big fan of being able to change the empty text of file and page fields and sections.
I just stumbled upon that the files & pages field always uses a plural empty text:
"No pages selected yet" "No files selected yet"
Even when multiple: false is set to restrict the field to only select one file/page. In that case it should say:
multiple: false
"No page selected yet" "No file selected yet"
The text was updated successfully, but these errors were encountered:
@mrflix I would not describe this as an error, as there is an option to specify the text yourself if no page or file has been selected yet:
fields: related: label: Related Pages type: pages multiple: false empty: "No page selected yet"
https://getkirby.com/docs/reference/panel/fields/files#field-properties https://getkirby.com/docs/reference/panel/fields/pages#field-properties
There are certainly also special scenarios where a distinction between singular and plural integrated into the core system is undesirable.
Sorry, something went wrong.
@gbdesign2023 as I wrote: I know and love the empty property. And I wouldn't call it an error either – just an UX enhancement.
empty
Models fields: default empty string for single
3f220b3
Fixes #6565
distantnative
Successfully merging a pull request may close this issue.
I'm a big fan of being able to change the empty text of file and page fields and sections.
I just stumbled upon that the files & pages field always uses a plural empty text:
"No pages selected yet"
"No files selected yet"
Even when
multiple: false
is set to restrict the field to only select one file/page.In that case it should say:
"No page selected yet"
"No file selected yet"
The text was updated successfully, but these errors were encountered: