This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Xitara
Xitara

On https://octobercms.com/docs/ui/select at AJAX Search the example shows

$results = [
    'key' => 'value',
    ...
];

return ['result' => $results];

but the right thing is

    $results = [
        ['id' => 'myCoolId', 'text' => 'myCoolValue'],
            ...
    ];

    return ['results' => $results];

please change the docs in the near fetaure

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.