Skip to content
Discussion options

You must be logged in to vote

Ok, after many hours working at this, I actually have something that works for the most part. That was until I found a browser extension that allows this on any field, without needing all of this custom code. I am still posting the code, as a reference for anyone that needs to do it in their project (without being able to control the browser where it will be used from).

The first file is a Custom Form Field, extending the default TextInput (so that everything related to it, will still work; can just as well extend the textarea): SpeechToTextInput.php

<?php

namespace App\Forms\Components;

use Closure;
use Filament\Forms\Components\Actions\Action;
use Filament\Forms\Components\TextInput;
…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jacotheron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant