Closed CjRootStudio closed 1 year ago
Can you share the blueprint?
I've attached the blueprint and 2 fieldsets I am using. It consists of a primary 'Card' fieldset, which is then imported into a separate fieldset called 'Image Card'. That Fieldset is then imported into a Grid fieldtype which is able to be selected via a replicator field. Hopefully that makes sense!
Cheers,
I'm having the same issue. When i have an iconamic field inside of a fieldset and i try to use this fieldset in a replicator i get exactly the same
@jasonvarga Could you already recreate this? I'm having the same problem and can provide an example repo if needed.
If you can that would be appreciated.
Look into the content
field of the articles
collection here: https://github.com/helloiamlukas/statamic-example-repo
Ok, I think I solved the mystery: It is important to add append-to-body
to the <v-select>
tag.
<v-select
append-to-body
:value="value"
:options="meta.options"
…
>
@CjRootStudio I can't recreate this issue with what you've provided. If you can provide a repo with this demonstrated that would be helpful.
@helloiamlukas I can see the issue in your provided repo. However it's happening in a custom fieldtype you created that uses v-select
explicitly. The native select
fieldtype doesn't have this issue. The solution is what you've discovered, to add append-to-body.
@jasonvarga After digging further I have found the the issue on my end was also caused by a custom v-select
field and the same solution applied. Mystery solved, thanks!
Bug description
When nested inside of a Grid or Replicator field, the new Icon fieldtype seems to have a z-index issue and sits behind other fields below it. I'm unable to select an option from the dropdown as a result.
A temporary workaround is using my arrow keys to cycle through the dropdown and using enter to select the icon.
How to reproduce
Add an Icon fieldtype into a Grid or Replicator field with more than 1 Icon available to select. View the template and try to select an icon from the dropdown.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response