BREAKING: Dynamic variables inside dynamic content are problematic for tools that use static analysis, therefore we have removed it, but you can still add it back on your extension if it works for you. The change may break your extension if you relied on this logic, you can add it back yourself by overriding the static get localizeNamespaces(). Example can be found here: https://github.com/ing-bank/lion/blob/%40lion/localize%400.8.10/packages/localize/stories/50-system-overview.stories.mdx#rendering-with-localizemixin |
||
|---|---|---|
| .. | ||
| src | ||
| stories | ||
| test | ||
| test-helpers | ||
| translations | ||
| CHANGELOG.md | ||
| index.js | ||
| lion-input-datepicker.js | ||
| package.json | ||
| README.md | ||
| test-helpers.js | ||
Input Datepicker
lion-input-datepicker component is based on the date text input field. Its purpose is to provide a way for users to fill in a date with a datepicker.
For an input field with a big range, such as birthday-input, a datepicker is not the ultimate tool, so use the standard lion-input-date.
Live Demo/Documentation
See our storybook for a live demo and API documentation
How to use
Installation
npm i --save @lion/input-datepicker
import '@lion/input-datepicker/lion-input-datepicker.js';
Example
<lion-input-datepicker label="Date" name="date"></lion-input-datepicker>