-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Setting "Default New Window" prevents target from working as expected #146
Comments
So this is more of a UI issue than anything I believe. Thanks to the video you sent through privately, I can see the issue is that you're toggling the New Window setting, but leaving the link blank. This means that the value for the field is technically empty, so it's switching back to the defaults. This is the same reason why Twig will not render "_blank" as expected. If you did the same thing with a value in the link field, I'm seeing it save correctly. At your Step 6 when you view an entry, that link field has no value at that point, so it's not going to show a value for the link, or for the other settings. This is very much related to #8 where we need to provide a better UI for the empty state to prevent this sort of behaviour. That's probably going to be slated for Hyper 2 for Craft 5, as it's now a breaking change. |
Describe the bug
When creating a new Hyper field, if I select "Default New Window" as true, the UX shows the New Window toggle as green. However, the Twig will not render "_blank" as expected.
Another issue I see may be related. In the field that has it's "Default New Window" as true, in the UX of the entry, you can toggle the value off, but it will always show "green" (true) when returning to the entry edit screen in the Craft control panel.its
Steps to reproduce
Craft CMS version
4.9.0
Plugin version
1.1.28
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: