I want to make minor corrections, to addapt Flarum engine for my local network.
In this case, I'm looking for the optimal way to change input type to text instead of using email
I can make the fork of these components, but maybe there is any option to redefine the template somewhere in extensions namespace? Thanks.
// vendor/flarum/core/js/src/forum/components/ChangeEmailModal.tsx
items.add(
'email',
<div className="Form-group">
<input
type="email"
name="email"
className="FormControl"
placeholder={app.session.user!.email()}
bidi={this.email}
disabled={this.loading}
/>
</div>
);