Closed CWSites closed 6 years ago
Thanks for the details.
This is React warning.
You can use defaultValue
or value
to set an initial value.
@rkit I am using value
, I think the issue is when I'm building the data select2 uses selected: true
which is causing an issue. This data is populated based on an API response so I don't have access to it before that.
I know this is a React warning, but I am pretty sure it's in regards to this library.
I'm getting an error in my console on one of my select2 wrappers and I don't see it using
selected
anywhere so I'm not sure why this is occurring.Console Warning
HTML rendered in browser.
Component
Variables