how we can change placeholder
# gooddata-platform
g
how we can change placeholder
please reply
j
Hello Gaurav, Did you have a chance to check our documentation which is covering the topic? https://sdk.gooddata.com/gooddata-ui/docs/placeholders.html If the above isn’t sufficient - can you please add more information/context into your question?
g
i didn't get it i want use department in place of name
j
Hi Gaurav. Can you explain what exactly you’re trying to do and which part of our documentation are you basing it on?
j
Hello Gaurav, could you please share how you define variable
attribute
? The <AttributeFilter /> component should pick up the title (
Name
in your case) from the attribute label, and you can use the
title
property to override it:
Copy code
<AttributeFilter
    title='This is my custom title'
    filter={newPositiveAttributeFilter(Md.ProductCategory, [])}
    onApply={() => {}}
/>
Screenshot 2023-04-24 at 22.22.11.png