meilisearch-admin/app/components/form/textarea.hbs

17 lines
359 B
Handlebars
Raw Normal View History

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