Select createOptionUsing shows the record's ID and not the text
hello, i have a Select with create option, here's the code
return $record->id;
this is inside a custom page that contains multiple forms, here's more info on the class and the customerData
and this is how i show the form in the blade file
i don't have this problem using
createOptionUsing
on other pages where i use the traditional Resource
page.
everything works correctly, record is created, customer_id
is correct too, the only problem is this bad UX behavior.0 Replies