diff --git a/components/01_Atoms/input/input.config.json b/components/01_Atoms/input/input.config.json index 544b7b4..3c65575 100644 --- a/components/01_Atoms/input/input.config.json +++ b/components/01_Atoms/input/input.config.json @@ -1,3 +1,7 @@ { - + "context": { + "label": "Enter your value here", + "placeholder": "A sample value", + "message": "Please fill in anything valuable" + } } \ No newline at end of file diff --git a/components/01_Atoms/input/input.hbs b/components/01_Atoms/input/input.hbs index acb368e..bdc6523 100644 --- a/components/01_Atoms/input/input.hbs +++ b/components/01_Atoms/input/input.hbs @@ -1,10 +1,28 @@ +

Regular with message

- - - Field is required + + + {{message}}
+

Regular without message

- - - Field is required + + +
+

Regular without placeholder

+
+ + + {{message}} +
+

Disabled

+
+ + +
+

Error

+
+ + + {{message}}
\ No newline at end of file