changhuixu / date-range-picker Goto Github PK
View Code? Open in Web Editor NEWAngular components for Date Range Picker and Date Picker using ng-bootstrap
Home Page: https://changhuixu.github.io/date-range-picker/
Angular components for Date Range Picker and Date Picker using ng-bootstrap
Home Page: https://changhuixu.github.io/date-range-picker/
node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
15 static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
Reproduce
Set default date for date picker to be not the current month. See the default values on the page and open calendar, the calendar does not reflect the range values.
Example:
//ts
creditLimitRange = new DateRange(
new Date(2018, 10, 24),
new Date(2018, 11, 1)
);
//html
<date-range-picker id="creditLimitDate" [(dateRange)]="creditLimitRange">
After rendering the input will have dates "11/24/2018 - 12/1/2018" but opening the datepicker will not have that range selected, just todays date.
when I try to have some value in date, it couldnot show the value.
i want to fire a methon, on date a range select,
can anyone suggest me a way please?
Opening the datepicker should default to opening with part of the selected range instead of todays month + the next month.
For example. If today is 11/11/18 opening the date picker will display September and October, even if the range is 1/1/2018 to 1/15/2018.
Expected results should display the end of the range as part of the displayed months.
I want to select a single date but is not working. The DateRange.end cannot have value nor the calendar close. Could you add this feature if it's not yet done done.
To Recreate:
Click text area once to open calendar
Click again to close calendar
Click text area again to open calendar - doesn't open without changing focus
Environment:
Chrome
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.