# New visualization plugin with inputs

**URL:** <https://discuss.elastic.co/t/new-visualization-plugin-with-inputs/299616>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [March 14, 2022, 12:28pm UTC](https://discuss.elastic.co/t/new-visualization-plugin-with-inputs/299616 "2022-03-14T12:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![H1gH](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@H1gH](https://discuss.elastic.co/u/H1gH)\
**Post date:** [March 14, 2022, 12:28pm UTC](https://discuss.elastic.co/t/new-visualization-plugin-with-inputs/299616/1 "2022-03-14T12:28:57Z")

</div>

Hello,

I want to create a new plugin which will make a POST request to an API and will show the response in the view.  
I created my input using Eui forms

```auto
<EuiFlexItem>
      <EuiFieldSearch
        placeholder="Search..."
        fullWidth
        readOnly={false}
        disabled={false}
        aria-label="Use your query"
      />
    </EuiFlexItem>
    <EuiFlexItem grow={false}>
      <EuiButton>Search</EuiButton>
    </EuiFlexItem>
  </EuiFlexGroup>

```

The problem is that the input si disabled and can’t write text or click the button

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da00b4f26c882f068b391fa1762e5e927d1241cc.png)

Does anybody knows what is the issue and can help me with some information about why inputs are disabled?  
Thank you

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [March 21, 2022, 12:29pm UTC](https://discuss.elastic.co/t/new-visualization-plugin-with-inputs/299616/2 "2022-03-21T12:29:08Z")

</div>

Hello,

This is surprising. I pasted your code here: [adoring-sunset-dn7h5z - CodeSandbox](https://codesandbox.io/s/adoring-sunset-dn7h5z?file=/demo.js) and it works without problems. What version of EUI/Kibana are you using?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 18, 2022, 12:29pm UTC](https://discuss.elastic.co/t/new-visualization-plugin-with-inputs/299616/3 "2022-04-18T12:29:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
