Skip to content

Commit

Permalink
fix(messagebar): fix textareaId to be passed to textarea element
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 1, 2023
1 parent 09ef46f commit b3b10b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/react/components/messagebar.jsx
Expand Up @@ -237,7 +237,7 @@ const Messagebar = forwardRef((props, ref) => {
{slotsBeforeArea}
{messagebarAttachmentsEl}
<Input
id={textareaId}
inputId={textareaId}
ref={areaElRef}
type="textarea"
wrap={false}
Expand Down
2 changes: 1 addition & 1 deletion src/svelte/components/messagebar.svelte
Expand Up @@ -185,7 +185,7 @@
<div class="messagebar-area">
<slot messagebar={f7Messagebar} name="before-area" />
<Input
id={textareaId}
inputId={textareaId}
type="textarea"
wrap={false}
{placeholder}
Expand Down
2 changes: 1 addition & 1 deletion src/vue/components/messagebar.vue
Expand Up @@ -223,7 +223,7 @@ export default {
slotsBeforeArea && slotsBeforeArea(),
messagebarAttachmentsEl,
h(Input, {
id: props.textareaId,
inputId: props.textareaId,
ref: areaElRef,
type: 'textarea',
wrap: false,
Expand Down

0 comments on commit b3b10b2

Please sign in to comment.