We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I have code:
Select::make('Template', 'template2') ->options([ '1' => 'Template 1', '2' => 'Template 2', ]), TinymceEditor::make('Notes', 'notes') ->fullWidth() ->rules('required') ->dependsOn('template2', function (TinymceEditor $field, NovaRequest $request, FormData $formData) { $tpl = $formData->get('template'); $field->value = ('<h1>Template '.$tpl.'</h1>'); })
but changing Template does not result changing content of Tinymce editor. Instead of, dependsOn looks like run on refresh button.
The text was updated successfully, but these errors were encountered:
I also has the same issue. Uncaught (in promise) TypeError: t is undefined
Uncaught (in promise) TypeError: t is undefined
Sorry, something went wrong.
No branches or pull requests
Hello,
I have code:
but changing Template does not result changing content of Tinymce editor. Instead of, dependsOn looks like run on refresh button.
The text was updated successfully, but these errors were encountered: