![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
ember-rl-year-picker
Advanced tools
Ember year picker component.
See also:
Demo avialable here.
npm install ember-rl-year-picker --save-dev
This addon does not automatically import a stylesheet into your application. Run the following command to generate a stylesheet you can use as a base:
ember generate rl-picker-css
This will create a stylesheet at app/styles/rl-picker/_rl-picker.css
. You can include this stylesheet into your
application's sass or less files.
{{rl-year-picker year=yearOfBirth}}
Bind the year property to a property on your controller. Ember's two-way bindings will keep the value updated.
The following properties can be set to customize the year picker:
yearPlaceholderText
(default: 'Year'): the text displayed on the picker toggle button when the year value is null.flatMode
(default: false): when set to true, only the picker is shown (see demo).yearsPerPage
(default: 12): the number of years shown on a page.minYear
(default: null): the minimum year that can be selected.maxYear
(default: null): the maximum year that can be selected.decreaseButtonText
(default: '<'): the text on the decrease year button. Set for example to
"<i class='fa fa-chevron-left'></i>"
to work with Font Awesome.increaseButtonText
(default: '>'): the text on the decrease year button. Set for example to
"<i class='fa fa-chevron-right'></i>"
to work with Font Awesome.previousPageButtonText
(default: '<'): the text on the previous page button. Set for example to
"<i class='fa fa-chevron-left'></i>"
to work with Font Awesome.nextPageButtonText
(default: '>'): : the text on the next page button. Set for example to
"<i class='fa fa-chevron-right'></i>"
to work with Font Awesome.If you want to set different defaults for all year pickers in your application, extend the component and override the defaults with your own:
// app/components/rl-year-picker.js
import RlYearPickerComponent from 'ember-rl-year-picker/components/rl-year-picker';
export default RlYearPickerComponent.extend({
decreaseButtonText: "<i class='fa fa-chevron-left'></i>",
increaseButtonText: "<i class='fa fa-chevron-right'></i>",
previousPageButtonText: "<i class='fa fa-chevron-left'></i>",
nextPageButtonText: "<i class='fa fa-chevron-right'></i>"
});
0.2.0
Upgrades templates syntax to the new HTML-bars syntax, which means as of this version Ember 1.13 or higher is required.
FAQs
Ember year picker component.
The npm package ember-rl-year-picker receives a total of 0 weekly downloads. As such, ember-rl-year-picker popularity was classified as not popular.
We found that ember-rl-year-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.