angular.js
angular.js copied to clipboard
Setting input type=“file” using expression not working in Chrome or Safari
I am working on a form builder application in Angular and have run into an odd bug in Chrome. I am dynamically setting a form input type based on a variable. This seems to work for all input types except for "file", which will always change to "text" in Chrome or Safari. A simple example is below:
<div ng-app="app">
<input type="{{'file'}}" /><br />
<input type="{{'color'}}" /><br />
<input type="{{'button'}}" value="button" />
</div>
Hi @sdsanders, This is not supported by angular. Duplicate #1375