-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid Select Improvements #138
Conversation
}); | ||
} | ||
}, this); | ||
var existingOptions = Array.from(select.children).map(option => option.value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might need to be polyfilled if people are using IE at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I thought that Babel would take care of this one for me. I'm not too worried about supporting IE at this point for this project.
_getValueAttr() { | ||
const inheritedValue = this.inherited(arguments); | ||
|
||
return isNaN(inheritedValue) ? null : inheritedValue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this mess up the data submission or any of the local storage stuff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. In fact, it fixes problems such as attempting to write a string (NaN
) to numeric fields.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does 0 get written to the db for empty records?
temporarily until gruntjs/grunt-contrib-jasmine#269 is merged Other misc test cleanup
You'll just have to believe me that the tests are passing.