Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Input type "file", "date" #757

Closed
vojtajina opened this issue Feb 27, 2012 · 6 comments
Closed

Input type "file", "date" #757

vojtajina opened this issue Feb 27, 2012 · 6 comments

Comments

@vojtajina
Copy link
Contributor

file should set model to File object (or FileList if multiple)
date should convert to Date object

@marcenuc
Copy link
Contributor

I'm using the following implementation of file input type marcenuc/angular.js@2bfff46 . It works with "required", "accept", and "multiple" attributes. However I've not found how to unit/e2e test it. Can you give me some hints?

Thanks

@mathpere
Copy link

mathpere commented Jul 3, 2012

Thanks a lot to marcenu, your contribution solved the bug and saved my time!

@pkozlowski-opensource
Copy link
Member

File type support requested in #1375 as well.

@ntrp
Copy link

ntrp commented Aug 14, 2013

Still no support for file type?

@Siyfion
Copy link

Siyfion commented Oct 4, 2013

While I appreciate that setting a file input model to a File object or FileList (if multiple) would be an HTML5-only solution, surely it's better than nothing? Any progress on this?

benlesh added a commit to benlesh/angular.js that referenced this issue Dec 11, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 16, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 16, 2013
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 16, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 17, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 17, 2013
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 17, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 17, 2013
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 17, 2013
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 26, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 26, 2013
benlesh added a commit to benlesh/angular.js that referenced this issue Dec 26, 2013
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
Add support to date filter for outputing week of year

Partially closes angular#757
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 17, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Jan 18, 2014
@ghost ghost assigned jeffbcross Jan 23, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Feb 7, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Feb 7, 2014
petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this issue Feb 28, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Mar 3, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Mar 3, 2014
benlesh added a commit to benlesh/angular.js that referenced this issue Mar 3, 2014
tbosch pushed a commit to tbosch/angular.js that referenced this issue Mar 6, 2014
On older browser that don't support the new HTML5 inputs
and display a text input instead, the user is required to enter
the data in the corresponding ISO format. The value in `ng-model`
will always be a date.

E2e tests contain a workaround to a bug in webdriver,
see angular/protractor#562.

Also adds weeks as format to the `dateFilter`.

Related to angular#757.
Closes 5864.
tbosch pushed a commit that referenced this issue Mar 6, 2014
On older browser that don't support the new HTML5 inputs
and display a text input instead, the user is required to enter
the data in the corresponding ISO format. The value in `ng-model`
will always be a date.

E2e tests contain a workaround to a bug in webdriver,
see angular/protractor#562.

Also adds weeks as format to the `dateFilter`.

Related to #757.
Closes 5864.
tbosch pushed a commit that referenced this issue Mar 6, 2014
On older browser that don't support the new HTML5 inputs
and display a text input instead, the user is required to enter
the data in the corresponding ISO format. The value in `ng-model`
will always be a date.

E2e tests contain a workaround to a bug in webdriver,
see angular/protractor#562.

Also adds weeks as format to the `dateFilter`.

Related to #757.
Closes #5864.
lrlopez pushed a commit to lrlopez/angular.js that referenced this issue Mar 7, 2014
On older browser that don't support the new HTML5 inputs
and display a text input instead, the user is required to enter
the data in the corresponding ISO format. The value in `ng-model`
will always be a date.

E2e tests contain a workaround to a bug in webdriver,
see angular/protractor#562.

Also adds weeks as format to the `dateFilter`.

Related to angular#757.
Closes angular#5864.
@Narretz
Copy link
Contributor

Narretz commented Jul 7, 2014

type="file" was decided to be 'not core', see the reasoning here: #1375 (comment), and type="date" was implemented, although it benefit from some improvements, see #7066, #6755, #6754, #6881

@Narretz Narretz closed this as completed Jul 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants