New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

carbon-components-solid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbon-components-solid - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "carbon-components-solid",
"version": "0.0.3",
"version": "0.0.4",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "author": "Michael Neumann",

@@ -105,2 +105,6 @@ import { console } from "global";

const [lastName, setLastName] = createSignal("");
const [lastNameBlur, setLastNameBlur] = createSignal("");
const [lastNameVisited, setLastNameVisited] = createSignal(false);
return (

@@ -130,2 +134,14 @@ <>

/>
<TextInput
type="text"
required
labelText="Last name (on Blur)"
placeholder="Enter last name..."
invalid={lastNameVisited() && lastNameBlur().length < 1}
invalidText="Required"
value={[lastNameBlur, setLastNameBlur]}
onBlur={() => setLastNameVisited(true)}
/>
</FormGroup>

@@ -132,0 +148,0 @@ </Form>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc