-
Notifications
You must be signed in to change notification settings - Fork 2
Umlaut not displayed correctly in VEX alert of repeater trash feature #2063
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
Comments
Isn't this related? #2019 |
@matjazpotocnik absolutely! Thx for the reference. I knew I posted it but I couldn't find it any more :) |
Seems to me that all of those are related to VEX popups? |
@BernhardBaumrock I did some testing and the issue appears to be in Vex. Even just a |
Wow, what a bummer. Thx for looking into it Ryan! What about going with UIkit's native alerts then? https://getuikit.com/docs/modal#modal-dialogs I think I had some trouble with the confirmation dialog api but I can't remember exactly - or maybe they changed it in an update as from the docs on first glance it looks fine. But I'm happy to help wherever I can with that. And I'm a bit afraid of having to refactor some modules that rely on vex dialogs, but it should not be too hard I guess and if it's necessary, it's necessary... |
@BernhardBaumrock I won't remove Vex, I'm just thinking of replacing what |
Ah, I see, yeah that sounds like a good solution then :) |
A quick fix fould be to But I agree, vex is unmaintained for several years, there are many open issues regarding security, UX and accessibility and should be replaced. Maybe https://github.com/sweetalert2/sweetalert2 Or plain alert/message/prompt JavaScript boxes? They are not fancy but work, are accessible, and don't require third-party libraries. Even dialog can be used https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog |
Still using sweetalert2 in some cases (mostly because it comes with all the bells and whistles already baked in) but dialog is definitely the way to go for anything new :) |
…mpt() Javascript functions to use Uikit modals rather than Vex modals. This also should also help to solve processwire/processwire-issues#2063 ...also added ProcessWire.entities1() and ProcessWire.unentities() JS functions to mirror those in Sanitizer.
@BernhardBaumrock I've updated the alert, confirm and prompt functions to use Uikit modals rather than Vex modals, at least when Uikit is available. I'll look into native dialogs as well, but the Uikit ones were a good fit for now, as they work similarly to the Vex ones. Do you find that it fixes the issue? |
typeof is missing when comparing funcOk and funcCancel with "undefined" in ProcessWire.confirm function, lines 531 and 533. This line: |
This is what I see when double-clicking the trash icon of a repeater item:
The only related issue that I found is this: #117
I also asked Jens whether this is an issue with his german translation or a core issue. He said it's a core issue, so here we are ;)
The text was updated successfully, but these errors were encountered: