-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Zoom elevate Galerie: Zoom-Fensterposition speichern nicht möglich #1761
Comments
Most likely an issue in Contao core as validation for that field was added recently. |
I guess you refer to the contao/core#8574 but I don't know how that PR can cause the error. |
Well the issue is that the validation is taking place inside the widget, but the widget is used for any other input cases by extension developers (I do that a lot), so it should rather be a save_callback… |
In fact only the validation of field mandatoriness has changed and that relates only to the values that are provided used in the Contao core (e.g. No idea what could cause the |
Well we are using the same values (in a different context though) …
|
That widget is called "image size" so in my opinion the validation is totally correct. Even if you are using the same values then it still should be validated that way – I don't see a case where you would like to crop the image However for the widgets that want to use the same feature but different validation perhaps we could delegate the validation code to a different method than |
Well we're using "top_left" as a position to show the image zoom…
Again, this should be a save_callback and not a widget feature. Or at least a feature toggled in a DCA property.
|
Fixed in 848bdca |
Die Zoom-Fensterposition lässt sich nicht speichern.
Isotope: 2.4
Contao: 4.3.4
(siehe Screen Punkt 1)
The text was updated successfully, but these errors were encountered: