How to change the icon of createOptionForm icon on select field ?

User Text instead of icon like Add new candidate rather than + icon
No description
Solution:
Solved: ```php ->createOptionAction( function (Action $action) { $action->icon(null);...
Jump to solution
2 Replies
Vp
Vp7mo ago
This is how to change icon maybe you can experiment others like label
->createOptionAction(function ($action) {
$action->icon('heroicon-o-user');
})
->createOptionAction(function ($action) {
$action->icon('heroicon-o-user');
})
Solution
Asmit Nepali
Asmit Nepali7mo ago
Solved:
->createOptionAction(
function (Action $action) {
$action->icon(null);
$action->color('primary');
$action->label('Create Candidate');
$action->link();
}
)
->createOptionAction(
function (Action $action) {
$action->icon(null);
$action->color('primary');
$action->label('Create Candidate');
$action->link();
}
)
Want results from more Discord servers?
Add your server