You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to use the improved server-side rendering support for selected options of a SELECT element, but upon inspecting the react code (I've checked npm and download versions of both 0.13.2 and 0.13.3), I can't find the fix for #1398 which was included in 0.13.2 according to #3629 . (and is tagged as such)
Specifically, I've been checking for the following snippet of code within ReactDOMSelect.js from sophiebits@ea089fd
Missing:
+ getInitialState: function() {
+ // Pass down initial value so initial generated markup has correct
+ // `selected` attributes
+ var value = LinkedValueUtils.getValue(this.props);
+ if (value != null) {
+ return {initialValue: value};
+ } else {
+ return {initialValue: this.props.defaultValue};
+ }
+ },
My code which isn't rendering server-side selected attr on options is:
The text was updated successfully, but these errors were encountered:
goofballLogic
changed the title
#1398 missing / not shipped along with Ship 0.13.2 #3629?
#1398 missing / not shipped along with Ship 0.13.2 #3629 ?
May 9, 2015
I've been trying to use the improved server-side rendering support for selected options of a SELECT element, but upon inspecting the react code (I've checked npm and download versions of both 0.13.2 and 0.13.3), I can't find the fix for #1398 which was included in 0.13.2 according to #3629 . (and is tagged as such)
Specifically, I've been checking for the following snippet of code within ReactDOMSelect.js from sophiebits@ea089fd
Missing:
My code which isn't rendering server-side
selected
attr on options is:The text was updated successfully, but these errors were encountered: