S-text-field accessory giving error

Hey :waving_hand:

I’m trying the example for s-text-field and getting this error:

Link to docs: TextField

However in the browser it does seem to work fine and shows the accessory.

In general, I wanted to add a reset button to search field, but having trouble getting accessory to work.

Hi @Rolands_Kundzins. The new Polaris web component required you to install @shopify/polaris-types as a dev dependency and add the type into your tsconfig.json. Here is the docs: App home