Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
fetched-list
Advanced tools
Dependency-free component that implements live-search (value suggestion) to any element via <datalist>
Dependency-free component that implements live-search (value suggestion) to any <input>
element via <datalist>
<!-- From CDN -->
<script src="https://esm.run/fetched-list" type="module"></script>
<input>
element<!-- Just wrap any input -->
<fetched-list>
<input>
</fetched-list>
<!-- Or refer to it by ID -->
<input id="inputId">
<!-- ... -->
<fetched-list value-from="inputId"></fetched-list>
<!-- From demo/index.html -->
<fetched-list
url="http://geodb-free-service.wirefreethought.com/v1/geo/countries?limit=10"
param="namePrefix" check="metadata.totalCount" list-path="data" value-path="name"
label-path="code" title-case="true" initial-fetch="true" auto-select="true">
<input autocapitalize="words" placeholder="Type any Country" type="search">
</fetched-list>
Property | Attribute | Description |
---|---|---|
url | url | API endpoint for fetching options |
param | param | Name of query parameter where to put text from input |
check | check | Absolute JSON path to property that indicate successful response |
listPath | list-path | Absolute JSON path to property that contains array with options |
valuePath | value-path | Relative JSON path to property that contains value of each option |
labelPath | label-path | Relative JSON path to property that contains label of each option |
titleCase | title-case | Automatically capitalize first letter when typing |
valueFrom | value-from | ID of outer input element to be used instead of inner input |
autoSelect | auto-select | Automatically select most relevant variant from list |
initialFetch | initial-fetch | Prefetch an options before input |
removeOptions | remove-options | Clear list of options before populating |
FAQs
Dependency-free component that implements live-search (value suggestion) to any element via <datalist>
We found that fetched-list 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.