Open nstCactus opened 9 months ago
Neo is intentionally filtered out of the available field types. I can't say for sure what the original reasoning was, since that was well before my time working on the plugin - but my guess would be that by allowing editing of Neo fields, which themselves load full field layout designers, you allow infinite Quick Field modals to be opened.
A potential solution is to allow Neo fields to be edited, but disallow Quick Field from initialising when the Neo field edit page is inside a modal. I'll need to look into that when I get a chance.
Bug Description
After editing a Neo field in quick-field from an entry type field layout, I noticed the field has changed to an Asset field.
While creating this ticket, I think I found the root cause of the issue: when the quick field modal window opens, the Field type dropdown isn't properly initialised and thus takes the value of the first
<option>
. If the user isn't extra careful when editing the field, he will overwrite the field type when saving.Steps to reproduce
contentBuildersMain
)Expected behaviour
The type of the Neo field should be kept when editing a field in quick field.
When the quick-field modal window opens, the Field type dropdown should be properly initialised with the current field type.
Quick Field version
2.0.5
Craft CMS version
4.5.6.1