Potential wrong documentation info for "Enumeration attribute"

Hi, It is mentioned in the Enumeration attribute section of the documentation that ‘vec3’ can be used as a type. Link: Script Attributes | PlayCanvas Developer Site

When i tried to use it in script, it shows this error:
Screenshot 2024-03-27 235547

My declaration:
Test.attributes.add(‘enumTest’, {
type: ‘vec3’,
enum: [
{ ‘one’: [0,1,2] },
{ ‘two’: [1,0,2] },
{ ‘three’: [2,0,1] }
]
});

Doesn’t look like its supported.
Since the user doesn’t see the data behind each enum, one option is to change to string array of numbers. I’ve confirmed the following works

Test.attributes.add('enumTest', {
    type: 'string',
    enum: [
        { 'one': '0,1,2' },
        { 'two': '1,0,2' },
        { 'three': '2,0,1' }
    ]
});

// initialize code called once per entity
Test.prototype.initialize = function () {
    const v = this.enumTest.split(',')
    const vec = new pc.Vec3(v[0], v[1], v[2])
    console.log(vec)

Yep, the docs need an update.

P.S.
You can also create a vector from array directly:

const v = this.enumTest.split(',');
const vec = new pc.Vec3(v);

Created an issue: