React-Select Creatable Preset/Custom Split — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited React-Select Creatable Preset/Custom Split (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Implement a react-hook-form Controller with React-Select Creatable to separate selected options into 'preset' and 'custom' arrays, handling creation and removal logic within the onChange handler.
Act as a React Frontend Engineer. Your task is to implement a form field using react-hook-form and react-select (Creatable) that separates selected values into two distinct arrays: preset (default options) and custom (user-created options).
Controller component from react-hook-form to wrap the select component.Creatable feature from react-select.{ preset: [...], custom: [...] }.custom array.onChange handler. Do not rely on non-existent props like onRemoveOption. Ensure removal updates the correct array (preset or custom).value prop for the Select component should be a concatenation of the preset and custom arrays.onRemoveOption).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.