Page 1 of 1

[SOLVED] Displaying auto-increase in an element page (but no prefix)

Posted: 23 Feb 2023, 09:31
by Didou12
Hi,

I don't know if it's an issue but when I display a value (in an element page) from an linked entity (dropdown ajax list) with a title from auto-increase field, it just displays the number and not the prefix before. And by the way, in this dropdown ajax list field I need to add a model for the title with the id of the auto-increase field for showing the prefix, because without that, it just shows only the number in the form.

Let me know if it's confused and I will take some snapshot.

Thanks

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 23 Feb 2023, 16:24
by support
Not clear what do you mean. Please provide some screenshots.

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 24 Feb 2023, 11:24
by Didou12
Here is the demo :

https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1866
test.admin
admin

You can see the prefix doesn't show up, just the increased number (field "link with item")
In Item, it's field "auto-increase"

And for adding, in the dropdown list I need to add a model (see pictures).

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 24 Feb 2023, 12:13
by support
You configured Heading in dropdown, but selected value uses Heading field that setup in Entity.
Just setup field 215 as heading for this entity.

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 24 Feb 2023, 14:52
by Didou12
It's already the case, that's why I think it's a bug. hihih Sorry I didn't mention it in my last message.
Same at the top of the page of the element, name is just number (without prefix).

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 11 Mar 2023, 22:02
by Didou12
Hi Sergey,

Any update about that ?

Have a good weekend,

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 13 Mar 2023, 11:34
by support
Ok, I see. File from archive replace to includes\classes\items\

Re: Displaying auto-increase in an element page (but no prefix)

Posted: 14 Mar 2023, 07:46
by Didou12
It's perfect :D thank you