Package Exports
- @logo-elements/custom-field
- @logo-elements/custom-field/logo-elements-custom-field.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@logo-elements/custom-field) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@logo-elements/custom-field
A web component for wrapping multiple components as a single field.
<logo-elements-custom-field label="Enrollment period" helper-text="Cannot be longer than 30 days" required>
<logo-elements-date-picker id="start" placeholder="Start date"></logo-elements-date-picker>
–
<logo-elements-date-picker id="end" placeholder="End date"></logo-elements-date-picker>
</logo-elements-custom-field>Installation
Install the component:
npm i @logo-elements/custom-fieldOnce installed, import the component in your application:
import '@logo-elements/custom-field';Themes
You can import the LEDS version of the component explicitly:
import '@logo-elements/custom-field/theme/leds/logo-elements-custom-field.js';Finally, you can import the un-themed component from the src folder to get a minimal starting point:
import '@logo-elements/custom-field/src/logo-elements-custom-field.js';