[Webkit-unassigned] [Bug 193278] New: Setting <option> value to empty via JS prevents validation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 9 05:03:23 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193278
Bug ID: 193278
Summary: Setting <option> value to empty via JS prevents
validation
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: martin_petrov at me.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
Submit a form with <select required> where the current <option> value is set to empty via js. It's not validated.
https://jsfiddle.net/njw9pvo5/
<form>
<select required>
<option id=myoption>test</option>
</select>
<button>submit</button>
</form>
<script>
myoption.value = ''
</script>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190109/1b07f1d7/attachment.html>
More information about the webkit-unassigned
mailing list