Closed krisnye closed 11 years ago
<template>
on iOS has to be polyfilled, and <select>
kicks out anything that isn't an <option>
before parsing, thus cannot be polyfilled correctly.
Try <option template repeat="{{options}}">
Can you provide a working sample similar to above?
<!DOCTYPE html>
<html>
<head>
<script src="polymer.min.js" debug></script>
<element name="v-bug">
<template>
<select>
<option template repeat="{{options}}">{{}}</option>
</select>
</template>
<script>
Polymer.register(this, {
options: [ "One", "Two", "Three" ]
});
</script>
</element>
</head>
<body>
<v-bug></v-bug>
</body>
</html>
well, this jsbin should work: http://jsbin.com/ogoyet/2/edit
Dan is correct. Sorry this isn't yet better documented
This works fine on chrome. Fails on my iPhone 4 iOS 6.1.3