meilisearch-admin/app/components/form/textarea.hbs
2022-09-09 18:36:23 +03:00

16 lines
359 B
Handlebars

<Form::Element
@label={{@label}}
@for={{this.id}}
@required={{@required}}
@helper={{@helper}}
>
<Textarea
type='text'
name={{@name}}
id={{this.id}}
class='block w-full p-2 bg-transparent border rounded focus:outline-none'
placeholder={{@placeholder}}
@value={{@value}}
{{on 'change' this.onChange}}
/>
</Form::Element>