4

I want to add filtering for a ui listing

<item name="filter" xsi:type="string">text</item>

Using this i am able to add filter but its a textbox. I want it to be a textarea any solution on this.

2
  • Why you want to added textarea into the filter? Commented Aug 20, 2020 at 4:52
  • Where do you want to add textarea? product grid or something else? Commented Aug 23, 2020 at 3:23

2 Answers 2

1

Currently Magneto2 default not provide the textarea as filter type.

You can check this directory so you get idea how many type of filter is currently available into the magento ui grid.

MagentoRoot/vendor/magento/module-ui/Component/Filters/Type

According to my suggestion, you are use text field as filter instead of textarea, because they are allows you to add those data and filter it.

0

It's not possible to make textarea as a filter type.

In magento, currently text, select, dateRange and textRange types of filters are available only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.