-
Notifications
You must be signed in to change notification settings - Fork 18
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
Link is not saved (CF 3) #7
Comments
Hey Kevin. Unfortunately I can't replicate your issue. Are you sure you're on the branch |
You can either update your
Or install it via cli:
|
Hi @iamntz , Thanks for your quick reply and yes I am using the v3. The field is used in a Gutenberg block (CF_Block). I don't get any error in the console either. I just tried in a "theme_options" container and it works. It looks like it might be related when it is used in a block container? Best regards, |
Mmmm, I didn't used Carbon as a gutenberg block until now. I'll dig into it and I'll let you know :) |
@iamntz That's awesome, thanks so much! |
From what i can see, the data is saved. Is just that... the button isn't updated. Well, I assume combining legacy with new is not always the best idea 🗡
Will update in a bit. |
Unfortunately, it seems that there is an issue with WP core itself: So for now this will be no stand by. |
Ups, that was my mistake. Which is fixed now :) |
Hi there, I had a similar problem/bug - the value was saved but not shown/editable in the backend. Seems there was a bug how the value was accessed via the field props (or maybe carbon fields api changed). Made a pull request - just some minor changes, so should be good to go. Edit: I read through all the gutenberg/core issues referenced here. Seems they are not really happy about the situation with using the "old" wpLink component in gutenberg. Also all linkable core blocks (image, button) use other UIs for handling links. Maybe we should keep an eye on these issues to see if the api changes. Offtopic: When editing I didn't quite get why you overwrote the |
Hi there,
Firstly, thank you for the plugin! I'm trying to use it with the latest version of Carbon Fields but the link is not saved nor selected after clicking on "Add Link".
Kind regards,
The text was updated successfully, but these errors were encountered: