D
D
Dmitry2018-02-19 20:39:46
React
Dmitry, 2018-02-19 20:39:46

Why doesn't defaultChecked work???

I set both defaultChecked and defaultChecked={true} and somehow, as a result, the element does not have the Checked attribute on the page

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-02-19
@kaktys123

everything works fine) it's just that the checked attribute is not written to the element, such a feature.
The button is stylized, it was not visible whether it is checked or not

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question