Alyssa Reyes
Alyssa Reyes

Reputation: 2439

Select placeholder missing after selecting in AntDesign

I have a form that has selects a type of holiday. But the placeholder went missing after selecting. I created a reset button to see if the value of select is resetting.

How can I reset it to initial state with placeholder?

I created the scenario here Link

Upvotes: 0

Views: 73

Answers (1)

MiDas
MiDas

Reputation: 374

I replicated your https://codesandbox.io/s/blue-violet-3vpw7 sandbox here and just removed the valueProp** u passed to the getFieldDecorator.

Upvotes: 1

Related Questions