Skip to content

How to change the placeholder? #82

Answered by SaraSanGar
SaraSanGar asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you very much!! I was doing

<Search 
  className="online-classes__search-bar" 
  uiOptions={{ placeHolder: "What you want to learn?" }} 
/> 

Instead of

<Search
  className="online-classes__search-bar"
  uiOptions={{
    translations: {
      placeholder: "What you want to learn?",
   },
 }}
/>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SaraSanGar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants