{"id":20251660,"url":"https://github.com/jfmdev/reactcombodatepicker","last_synced_at":"2025-04-10T23:16:14.130Z","repository":{"id":58237961,"uuid":"74237486","full_name":"jfmdev/reactComboDatePicker","owner":"jfmdev","description":"React component for select dates using combo boxes ","archived":false,"fork":false,"pushed_at":"2017-05-06T00:21:36.000Z","size":440,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T23:16:00.616Z","etag":null,"topics":["datepicker","javascript","library","react","react-component","react-library"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfmdev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-19T21:48:46.000Z","updated_at":"2023-06-23T22:46:45.000Z","dependencies_parsed_at":"2022-08-31T00:30:26.341Z","dependency_job_id":null,"html_url":"https://github.com/jfmdev/reactComboDatePicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmdev%2FreactComboDatePicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmdev%2FreactComboDatePicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmdev%2FreactComboDatePicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfmdev%2FreactComboDatePicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfmdev","download_url":"https://codeload.github.com/jfmdev/reactComboDatePicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312132,"owners_count":21082638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datepicker","javascript","library","react","react-component","react-library"],"created_at":"2024-11-14T10:12:10.490Z","updated_at":"2025-04-10T23:16:14.104Z","avatar_url":"https://github.com/jfmdev.png","language":"JavaScript","readme":"reactComboDatePicker\n====================\n\n_Select dates with combo boxes_\n\n**reactComboDatePicker** is an React component to select dates using combo boxes.\n\n[See the live demos and read the docs](http://jfmdev.github.io/reactComboDatePicker/ \"reactComboDatePicker - Live demos and docs\")\n\n\u003e Note that this project is a fork [ngComboDatePicker](https://github.com/jfmdev/ngComboDatePicker), an Angular implementation of this component.\n\n\nUsage\n-----\n\nIn order to use this component:\n\n**1)** Include the library (located in the `dist` folder) in the header of your HTML files, after including React:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"react.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"react-dom.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"reactComboDatePicker.min.js\"\u003e\u003c/script\u003e\n```\n\n**2)** Then use the component `ComboDatePicker` in your code:\n\n```javascript\nReactDOM.render(\n    \u003cComboDatePicker /\u003e,\n    document.getElementById('root')\n);\n```\n\n\nAttributes\n----------\n\nThe _reactComboDatePicker_ component supports the following attributes:\n\nName | Description\n------------- | ----\n`date`  | A Date object, a string or a number representing the initial date of the picker.\n`minDate`  | A Date object, a string or a number representing the minimum date that can be picked. By default the minimum date is 100 years before the current day.\n`maxDate`  | A Date object, a string or a number representing the maximum date that can be picked. By default the maximum date is the current day.\n`months`  | A string (comma separated) or an array with the names of the twelve months. \n`order`  | A string with the characters \"d\", \"m\" and \"y\" indicating in which order the combo boxes must be displayed. By default, the combo boxes are displayed in the order \"dmy\".\n`attrsDate`  | An object with HTML attributes to add to the `select` element for the date. \n`attrsMonth`  | An object with HTML attributes to add to the `select` element for the month. \n`attrsYear`  | An object with HTML attributes to add to the `select` element for the year. \n`yearOrder`  | A string indicating if the years must be sorted in \"ascending\" or \"descending\" order. \n`timezone`  | A number indicating timezone to be used when converting a string or an integer to a date. By default the timezone of the client is used. \n`placeholder`  | A string (comma separated) or an array with the placeholders for the year, month and date combo boxes (in that order). \n`onChange`  | A callback function invoked each time that the date, represented by the pickers, changes. \n\nCompilation\n-----------\n\nSince the project uses [JSX](https://facebook.github.io/react/docs/jsx-in-depth.html) and [ES6](http://es6-features.org/), you should use [Babel](https://babeljs.io/) to recompile the file `reactComboDatePicker.js` (from the `source` folder) every time you modify it, using the command: `babel source --out-dir dist`\n\nLicense\n-------\n\nreactComboDatePicker is free software; you can redistribute it and/or\nmodify it under the terms of the Mozilla Public\nLicense v2.0. You should have received a copy of the MPL 2.0 along with this library, otherwise you can obtain one at \u003chttp://mozilla.org/MPL/2.0/\u003e.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfmdev%2Freactcombodatepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfmdev%2Freactcombodatepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfmdev%2Freactcombodatepicker/lists"}