Home›Toolset Professional Support›[Resolved] Split: Fields with dropdowns for related posts do not show all available options – ordering asc/desc not working
[Resolved] Split: Fields with dropdowns for related posts do not show all available options – ordering asc/desc not working
This thread is resolved. Here is a description of the problem and solution.
Problem:
ordering asc/desc not working
Solution:
With New Many To Many relationship where the use_select2="never" attribute is not supported.
Hi Minesh, many thanks for providing a solution. I have added this string to each field and it works. However, the available options (values) are not sorting alphabetically, even though the field paramaters are telling it to do so. See the attached screenshots. This is the line of code for this field:
Ok - after having a crosscheck with Devs the attribute use_select2="never" is not supported with newly created relationship with Types for good reason. It should be always rendered as select2.
Hi Minesh, thanks for following up with the development team. I have just changed the attribute use_select2="never" into select2="never" within the Post Form for CPT Example, and the field now displays the available options in alphabetical order. However, the width of the dropdown is now extremely narrow, so I had to revert the change. See the attached screenshots. Could you please help me out?
Ok - the fact is that the feature is not supported even if you use select2="never" with screenshot I can still see it remain the select2 NOT the normal select dropdown.
I even confirm that you have new Many To Many relationship where the use_select2="never" attribute is not supported. I'm taking this as new feature request still and its still under assessment. Please note that there is no ETA on it.
Hi Minesh, yes, it would be great if you could treat this as a new feature request. I really hope a solution can be found soon - not just for me, but also for other users of Toolset. In my opinion this is not a feature request, but a bug that needs to be resolved. Anyway, I trust that it will be resolved and I will for now close this issue.
For information - I also need a solution for this. I can get the dropdown to include all parents but the sort does not work.
The sort works if the select2="never" is removed but then the list is truncated and finding a record that is not displayed is not user friendly as it does not always work.
I agree with reneV-2 that this should really be treated as a bug.