Fork me on GitHub
#cljsrn
<
2016-10-08
>
misha14:10:12

@pesterhazy: it's not reagent, it's react. Use defaultValue instead of value. This is about controlled vs. not-controlled components afaik

pesterhazy14:10:09

@misha, that doesn't sound right

pesterhazy14:10:04

How would you e.g. clear an input field if you only use default-value?

pesterhazy14:10:55

Or change the value programmatically

misha14:10:59

for some reason it works, I didn't dig to much into why and how to explain this. just try defaultValue + :on-change-text

misha15:10:42

@pesterhazy now I'm confused about it too. again.

pesterhazy15:10:36

I'll have to look into it as well again

pesterhazy15:10:57

The terminology is confusing if nothing else