-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Ctrl + S in structure field containing date fields clears content #6390
Comments
@bezin Could you please share your blueprint? |
Sure thing, here you are:
When you use it like this, |
I ran into the same problem with this blueprint. While working in the nested structure, it overrides structure 1 when I'm in a field and press cmd+s.
PHP: 8.3.7 Edit: When I remove the datefield, everything works the way it should work |
Description
I have a custom block with a structure field, that has several fields (text, color, list, two date fields)
When I edit a structure item and hit CTRL+S, the structure form is closed and I see the editing mask for the block again, but all content is gone – at least visually. When I close the drawer and save the changes, everything works as expected (the content is still there incl. my intentionally made changens).
This does not happen, when I exclude the date fields. However, the changes I made were not in the date fields, but in a text field.
Expected behavior
I expect CTRL+S to close the structure field edit mask and return to the block edit mask without loosing the content.
Your setup
Kirby 4.2.0 on PHP 8.3, running on Ubuntu in WSL (Windows 11) with Symfony Webserver
The text was updated successfully, but these errors were encountered: