Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@lion/form-core
Advanced tools
Form-core contains all essential building blocks for creating form fields and fieldsets
export default {
title: 'Forms/Field/Overview',
};
Form control
s are the most fundamental building block of the Forms. They are the basis of
both field
s and fieldset
s, and the form
itself.
Fields are the actual form controls the end user interacts with.
They extend the Field
class, which on its turn uses the FormControlMixin
.
Fields provide a normalized, predictable API for platform components and custom made form controls.
On top of this, they feature:
interaction states
<input>
<textarea>
<select>
<input type="radio">
<input type="checkbox">
Whenever a native form control doesn't exist or is not sufficient, a custom form field should be created. One could think of components like:
Fieldsets are groups of fields. They can be considered fields on their own as well, since they
partly share the normalized api via FormControlMixin
.
Fieldsets are the basis for:
FAQs
Form-core contains all essential building blocks for creating form fields and fieldsets
The npm package @lion/form-core receives a total of 1,173 weekly downloads. As such, @lion/form-core popularity was classified as popular.
We found that @lion/form-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.