question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Select option empty value regression in 15.0.0-rc.1

See original GitHub issue

React 0.14.7: <option value="">empty</option> emits empty string on change http://jsbin.com/pisita/10/edit?html,js,console,output React 15.0.0-rc.1<option value="">empty</option> emits string with value “empty” on change http://jsbin.com/bemaze/12/edit?html,js,console,output This is because React 15.0.0-rc.1 cuts off value="" from option tag

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
chicoxyzzycommented, Mar 10, 2016

One can put value="" into any tag and that could be intended (but really weird tho). Let’s say some jQuery plugin uses value attribute on divs to make it interactive or something

0reactions
chyzwarcommented, Apr 8, 2016

@chicoxyzzy value=“” is permitted only for handful of elements according to HTML spec, you can use data-* custom attributes. https://developer.mozilla.org/en/docs/Web/Guide/HTML/Using_data_attributes

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to have a default option in Angular.js select box
My solution to this was use html to hardcode my default option. Like so: ... <option value="" ng-selected="selected">Select one option</option> </select>.
Read more >
Option value selected=selected in a form - Marketing Nation
Hello everyone, I have a form with a Country select field. ... A selected empty value will not make any changes on the...
Read more >
v0.15.0 (October 18, 2014) — pandas 0.24.0rc1 documentation
New DataFrame default display for df.info() to include memory usage, see Memory Usage; read_csv will now by default ignore blank lines when parsing,...
Read more >
PPM ACCOUNTABLE OFFICER USER'S GUIDE
The report can be run for a specific date range and Event Type. Select Accountable Officer Menu <TEST ACCOUNT> Option: transaction Report -...
Read more >
HL7 Version 2.5.1 Implementation Guide: Immunization ... - CDC
ORC —Order Request Segment . ... Value Set Name – Immunization Profile Identifiers - IIS . ... 15. Table 3-1 Receiving System Processing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found