-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Error using $set
Unable to dynamically set a value to the code editor using $set. Code below
AceEditor::make('config_content')
->mode('php')
->theme('github')
->darkTheme('dracula')
->default('asdasds')
->hintAction(
Action::make('fetch_env')
->icon('heroicon-o-arrow-path')
->action(function ($record, Set $set) {
$set('config_content', 'console.log("test");');
})
),
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels