meilisearch-admin/app/components/form/textarea.hbs
2022-09-02 12:50:33 +03:00

16 lines
362 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-md focus:outline-none'
placeholder={{@placeholder}}
@value={{@value}}
{{on 'change' this.onChange}}
/>
</Form::Element>