We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The div of the new item isn't added at the same level of the other collection's items.
Video :
The feature comes from : lib/easy-fields-bundle/assets/js/form-type-collection-sortable.js:78
lib/easy-fields-bundle/assets/js/form-type-collection-sortable.js:78
const newItemInsertionSelector = isArrayCollection ? '.ea-form-collection-items' : ' .ea-form-collection-items .accordion > .form-widget-compound'
It seems to fix it by adding the data-row-id to the selector. But as I haven't tested thoroughly it needs to be tested to prevent side effect.
const newItemInsertionSelector = isArrayCollection ? '.ea-form-collection-items' : ' .ea-form-collection-items .accordion > .form-widget-compound' + (collection.dataset.rowId !== undefined && collection.dataset.rowId !== '' ? ' > # ' + collection.dataset.rowId : '');
The text was updated successfully, but these errors were encountered:
for the index you have to change your entry_options like this .
Sorry, something went wrong.
No branches or pull requests
The div of the new item isn't added at the same level of the other collection's items.
Video :
sortablecollection-doesnt-allow-to-sort-new-items.mov
The feature comes from :
lib/easy-fields-bundle/assets/js/form-type-collection-sortable.js:78
It seems to fix it by adding the data-row-id to the selector.
But as I haven't tested thoroughly it needs to be tested to prevent side effect.
The text was updated successfully, but these errors were encountered: