Skip to content
New issue

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

Volto form block fixes #6370

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
8028feb
Volto form block fixes.
robgietema Sep 11, 2024
43c107c
Add default value in schema editor.
robgietema Sep 11, 2024
87ef091
Add hidden widget.
robgietema Sep 12, 2024
dde6545
Add static text field.
robgietema Sep 19, 2024
314da4f
Add field factory utilities.
robgietema Sep 26, 2024
19df4be
Added extra widgets.
robgietema Sep 30, 2024
b3abf4f
Add disable enter setting.
robgietema Oct 5, 2024
7f210eb
Fix translations.
robgietema Oct 5, 2024
59d9f74
Add placeholder and id editing.
robgietema Oct 16, 2024
57e76b4
Add text button option to forms.
robgietema Oct 16, 2024
4fd40f6
Fix number field.
robgietema Oct 28, 2024
cf63ae6
Add file size and allowed types to file widget.
robgietema Oct 28, 2024
bb23416
Add default values for date fields.
robgietema Oct 28, 2024
a8a8795
Add query parameter name.
robgietema Oct 29, 2024
c2e4479
Fix linting.
robgietema Nov 5, 2024
d18e93a
Add snapshots.
robgietema Nov 5, 2024
2a55b10
Revert number fix.
robgietema Nov 5, 2024
cbf4e4e
Add option for custom widgets in schemawidget.
robgietema Nov 13, 2024
7f25133
Add support for custom form and button component in forms.
robgietema Nov 18, 2024
9bdda5f
Create unique slug for new fields in schemawidget.
robgietema Nov 25, 2024
c8b7c94
Fix broken call to getWidgetPropsFromTaggedValues
reebalazs Nov 27, 2024
4bf6bb3
Modal form improvements.
robgietema Nov 28, 2024
bce95d2
Fix static text widget label.
robgietema Dec 14, 2024
b7fe873
Add sorting to types in schemawidget.
robgietema Dec 17, 2024
260f50f
Show field type on edit in schemawidget.
robgietema Dec 17, 2024
6fa86f1
Set default field type in add field in schema widet.
robgietema Dec 17, 2024
2e796d7
Add classname to edit and add field modal in schemawidget.
robgietema Dec 17, 2024
c1d16de
Classname fix for schemawidget modal.
robgietema Dec 17, 2024
ee5a224
Fix modal title in schemawidget.
robgietema Dec 17, 2024
2f55d58
Add support for formdata change in modal form.
robgietema Dec 19, 2024
dc2c6a4
Add changelog.
robgietema Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions packages/volto/locales/ca/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,11 @@ msgstr "Data (el més nou primer)"
msgid "Default"
msgstr "Per defecte"

#. Default: "Default value"
#: components/manage/Widgets/SchemaWidget
msgid "Default value"
msgstr ""

#. Default: "Default view"
#: config/Views
msgid "Default view"
Expand Down Expand Up @@ -1520,6 +1525,11 @@ msgstr "Camp"
msgid "File"
msgstr "Dossier"

#. Default: "File is not of the accepted type {accept}"
#: components/manage/Widgets/FileWidget
msgid "File is not of the accepted type {accept}"
msgstr ""

#. Default: "File size"
#: components/manage/Contents/ContentsUploadModal
msgid "File size"
Expand All @@ -1540,6 +1550,11 @@ msgstr "Nom de l'arxiu"
msgid "Files uploaded: {uploadedFiles}"
msgstr "Fitxers pujats: {uploadedFiles}"

#. Default: "Fills the value of the form field with the value supplied by a query parameter inside the URL with the given name."
#: components/manage/Widgets/SchemaWidget
msgid "Fills the value of the form field with the value supplied by a query parameter inside the URL with the given name."
msgstr ""

#. Default: "Filter"
#: components/manage/Controlpanels/Aliases
#: helpers/MessageLabels/MessageLabels
Expand Down Expand Up @@ -2681,6 +2696,11 @@ msgstr "Eines personals"
msgid "Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first."
msgstr "Responsables de la creació del contingut d'aquest article. Introduïu una llista de noms d'usuari, un per línia. El creador principal hauria de ser primer."

#. Default: "Placeholder"
#: components/manage/Widgets/SchemaWidget
msgid "Placeholder"
msgstr ""

#. Default: "Please choose an existing content as source for this element"
#: components/manage/Blocks/Teaser/DefaultBody
msgid "Please choose an existing content as source for this element"
Expand Down Expand Up @@ -2798,6 +2818,11 @@ msgstr "Data de publicació"
msgid "Query"
msgstr "Consulta"

#. Default: "Query Parameter Name"
#: components/manage/Widgets/SchemaWidget
msgid "Query Parameter Name"
msgstr ""

#. Default: "Re-enter the password. Make sure the passwords are identical."
#: components/manage/Preferences/ChangePassword
#: components/theme/PasswordReset/PasswordReset
Expand Down Expand Up @@ -3729,6 +3754,11 @@ msgstr "El servidor backend del vostre lloc web no respon, demanem disculpes per
msgid "The button presence disables the live search, the query is issued when you press ENTER"
msgstr "La presència del botó desactiva la cerca en directe, la consulta s'emet quan premeu INTRO"

#. Default: "The file you uploaded exceeded the maximum allowed size of {size} bytes"
#: components/manage/Widgets/FileWidget
msgid "The file you uploaded exceeded the maximum allowed size of {size} bytes"
msgstr ""

#. Default: "The following content rules are active in this Page. Use the content rules control panel to create new rules or delete or modify existing ones."
#: components/manage/Rules/Rules
msgid "The following content rules are active in this Page. Use the content rules control panel to create new rules or delete or modify existing ones."
Expand Down Expand Up @@ -3879,6 +3909,7 @@ msgstr ""

#. Default: "Time"
#: components/manage/Widgets/DatetimeWidget
#: components/manage/Widgets/TimeWidget
msgid "Time"
msgstr "Hora"

Expand Down Expand Up @@ -4474,6 +4505,11 @@ msgstr ""
msgid "Your usernaame is required for reset your password."
msgstr ""

#. Default: "File types allowed"
#: components/manage/Widgets/SchemaWidget
msgid "accept"
msgstr ""

#. Default: "Enter an email address. This is necessary in case the password is lost. We respect your privacy, and will not give the address away to any third parties or expose it anywhere."
#: helpers/MessageLabels/MessageLabels
msgid "addUserFormEmailDescription"
Expand Down Expand Up @@ -5049,6 +5085,11 @@ msgstr ""
msgid "selectView"
msgstr ""

#. Default: "Maximum size of the file in bytes"
#: components/manage/Widgets/SchemaWidget
msgid "size"
msgstr ""

#. Default: "Skip to footer"
#: components/theme/SkipLinks/SkipLinks
msgid "skiplink-footer"
Expand Down
41 changes: 41 additions & 0 deletions packages/volto/locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,11 @@ msgstr "Datum (neustes zuerst)"
msgid "Default"
msgstr "Standard"

#. Default: "Default value"
#: components/manage/Widgets/SchemaWidget
msgid "Default value"
msgstr ""

#. Default: "Default view"
#: config/Views
msgid "Default view"
Expand Down Expand Up @@ -1519,6 +1524,11 @@ msgstr "Feld"
msgid "File"
msgstr "Datei"

#. Default: "File is not of the accepted type {accept}"
#: components/manage/Widgets/FileWidget
msgid "File is not of the accepted type {accept}"
msgstr ""

#. Default: "File size"
#: components/manage/Contents/ContentsUploadModal
msgid "File size"
Expand All @@ -1539,6 +1549,11 @@ msgstr "Dateiname"
msgid "Files uploaded: {uploadedFiles}"
msgstr "Hochgeladene Dateien: {uploadedFiles}"

#. Default: "Fills the value of the form field with the value supplied by a query parameter inside the URL with the given name."
#: components/manage/Widgets/SchemaWidget
msgid "Fills the value of the form field with the value supplied by a query parameter inside the URL with the given name."
msgstr "Füllt den Wert des Feldes mit dem Wert eines Query-Parameters innerhalb der URL mit dem selben Namen."

#. Default: "Filter"
#: components/manage/Controlpanels/Aliases
#: helpers/MessageLabels/MessageLabels
Expand Down Expand Up @@ -2680,6 +2695,11 @@ msgstr "Persönliche Einstellungen"
msgid "Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first."
msgstr "Eine Liste von Personen, die an der Erstellung dieses Artikels beteiligt waren. Bitte geben Sie einen Benutzernamen pro Zeile ein. Der Hauptverantwortliche sollte zuerst genannt werden."

#. Default: "Placeholder"
#: components/manage/Widgets/SchemaWidget
msgid "Placeholder"
msgstr ""

#. Default: "Please choose an existing content as source for this element"
#: components/manage/Blocks/Teaser/DefaultBody
msgid "Please choose an existing content as source for this element"
Expand Down Expand Up @@ -2797,6 +2817,11 @@ msgstr "Freigabedatum"
msgid "Query"
msgstr "Anfrage"

#. Default: "Query Parameter Name"
#: components/manage/Widgets/SchemaWidget
msgid "Query Parameter Name"
msgstr "Abfrageparametername"

#. Default: "Re-enter the password. Make sure the passwords are identical."
#: components/manage/Preferences/ChangePassword
#: components/theme/PasswordReset/PasswordReset
Expand Down Expand Up @@ -3728,6 +3753,11 @@ msgstr "Der Server antwortet nicht, wir entschuldigen uns für die Unannehmlichk
msgid "The button presence disables the live search, the query is issued when you press ENTER"
msgstr "Der Button deaktiviert die Live-Suche, die Suchanfrage wird abgeschickt wenn die ENTER-Taste gedrückt wird"

#. Default: "The file you uploaded exceeded the maximum allowed size of {size} bytes"
#: components/manage/Widgets/FileWidget
msgid "The file you uploaded exceeded the maximum allowed size of {size} bytes"
msgstr ""

#. Default: "The following content rules are active in this Page. Use the content rules control panel to create new rules or delete or modify existing ones."
#: components/manage/Rules/Rules
msgid "The following content rules are active in this Page. Use the content rules control panel to create new rules or delete or modify existing ones."
Expand Down Expand Up @@ -3878,6 +3908,7 @@ msgstr "Diese Regel ist an den folgenden Orten zugewiesen:"

#. Default: "Time"
#: components/manage/Widgets/DatetimeWidget
#: components/manage/Widgets/TimeWidget
msgid "Time"
msgstr "Zeit"

Expand Down Expand Up @@ -4473,6 +4504,11 @@ msgstr "Ihre Seite ist auf dem neusten Stand."
msgid "Your usernaame is required for reset your password."
msgstr "Ihr Nutzername wird zum Zurücksetzen Ihres Passworts benötigt."

#. Default: "File types allowed"
#: components/manage/Widgets/SchemaWidget
msgid "accept"
msgstr ""

#. Default: "Enter an email address. This is necessary in case the password is lost. We respect your privacy, and will not give the address away to any third parties or expose it anywhere."
#: helpers/MessageLabels/MessageLabels
msgid "addUserFormEmailDescription"
Expand Down Expand Up @@ -5048,6 +5084,11 @@ msgstr "Auswählen"
msgid "selectView"
msgstr "Ansicht wählen"

#. Default: "Maximum size of the file in bytes"
#: components/manage/Widgets/SchemaWidget
msgid "size"
msgstr ""

#. Default: "Skip to footer"
#: components/theme/SkipLinks/SkipLinks
msgid "skiplink-footer"
Expand Down
41 changes: 41 additions & 0 deletions packages/volto/locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,11 @@ msgstr ""
msgid "Default"
msgstr ""

#. Default: "Default value"
#: components/manage/Widgets/SchemaWidget
msgid "Default value"
msgstr ""

#. Default: "Default view"
#: config/Views
msgid "Default view"
Expand Down Expand Up @@ -1514,6 +1519,11 @@ msgstr ""
msgid "File"
msgstr ""

#. Default: "File is not of the accepted type {accept}"
#: components/manage/Widgets/FileWidget
msgid "File is not of the accepted type {accept}"
msgstr ""

#. Default: "File size"
#: components/manage/Contents/ContentsUploadModal
msgid "File size"
Expand All @@ -1534,6 +1544,11 @@ msgstr ""
msgid "Files uploaded: {uploadedFiles}"
msgstr ""

#. Default: "Fills the value of the form field with the value supplied by a query parameter inside the URL with the given name."
#: components/manage/Widgets/SchemaWidget
msgid "Fills the value of the form field with the value supplied by a query parameter inside the URL with the given name."
msgstr ""

#. Default: "Filter"
#: components/manage/Controlpanels/Aliases
#: helpers/MessageLabels/MessageLabels
Expand Down Expand Up @@ -2675,6 +2690,11 @@ msgstr ""
msgid "Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first."
msgstr ""

#. Default: "Placeholder"
#: components/manage/Widgets/SchemaWidget
msgid "Placeholder"
msgstr ""

#. Default: "Please choose an existing content as source for this element"
#: components/manage/Blocks/Teaser/DefaultBody
msgid "Please choose an existing content as source for this element"
Expand Down Expand Up @@ -2792,6 +2812,11 @@ msgstr ""
msgid "Query"
msgstr ""

#. Default: "Query Parameter Name"
#: components/manage/Widgets/SchemaWidget
msgid "Query Parameter Name"
msgstr ""

#. Default: "Re-enter the password. Make sure the passwords are identical."
#: components/manage/Preferences/ChangePassword
#: components/theme/PasswordReset/PasswordReset
Expand Down Expand Up @@ -3723,6 +3748,11 @@ msgstr ""
msgid "The button presence disables the live search, the query is issued when you press ENTER"
msgstr ""

#. Default: "The file you uploaded exceeded the maximum allowed size of {size} bytes"
#: components/manage/Widgets/FileWidget
msgid "The file you uploaded exceeded the maximum allowed size of {size} bytes"
msgstr ""

#. Default: "The following content rules are active in this Page. Use the content rules control panel to create new rules or delete or modify existing ones."
#: components/manage/Rules/Rules
msgid "The following content rules are active in this Page. Use the content rules control panel to create new rules or delete or modify existing ones."
Expand Down Expand Up @@ -3873,6 +3903,7 @@ msgstr ""

#. Default: "Time"
#: components/manage/Widgets/DatetimeWidget
#: components/manage/Widgets/TimeWidget
msgid "Time"
msgstr ""

Expand Down Expand Up @@ -4468,6 +4499,11 @@ msgstr ""
msgid "Your usernaame is required for reset your password."
msgstr ""

#. Default: "File types allowed"
#: components/manage/Widgets/SchemaWidget
msgid "accept"
msgstr ""

#. Default: "Enter an email address. This is necessary in case the password is lost. We respect your privacy, and will not give the address away to any third parties or expose it anywhere."
#: helpers/MessageLabels/MessageLabels
msgid "addUserFormEmailDescription"
Expand Down Expand Up @@ -5043,6 +5079,11 @@ msgstr ""
msgid "selectView"
msgstr ""

#. Default: "Maximum size of the file in bytes"
#: components/manage/Widgets/SchemaWidget
msgid "size"
msgstr ""

#. Default: "Skip to footer"
#: components/theme/SkipLinks/SkipLinks
msgid "skiplink-footer"
Expand Down
Loading
Loading