From: Vincent Vanwaelscappel Date: Tue, 10 Jan 2023 18:28:38 +0000 (+0100) Subject: wip #5674 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=120a246cf51f86895a222ff8d2ff4d16aac6c1c5;p=fluidbook-toolbox.git wip #5674 @0.75 --- diff --git a/app/Http/Controllers/Admin/Operations/Tools/TextToSpeech.php b/app/Http/Controllers/Admin/Operations/Tools/TextToSpeech.php index b71b6fdeb..b5a85596b 100644 --- a/app/Http/Controllers/Admin/Operations/Tools/TextToSpeech.php +++ b/app/Http/Controllers/Admin/Operations/Tools/TextToSpeech.php @@ -18,7 +18,7 @@ trait TextToSpeech $form->setTitle(__('Text to speech')); $form->setSubmitLabel(__('Générer')); $form->setSubmitIcon('la-volume-up'); - $form->addField('voice', SelectFromArray::class, __('Voix'), ['options' => $this->_api()->listVoices(), 'default' => 'fr-FR/Female/fr-FR-DeniseNeural']); + $form->addField('voice', SelectFromArray::class, __('Voix'), ['options' => $this->_api()->listVoices(), 'default' => 'fr-FR/Female/fr-FR-DeniseNeural', 'show_selected_option' => true]); $form->addField('text', Textarea::class, __('Texte')); return view('tools.form', ['form' => $form]);