diff --git a/resources/views/components/text-input.blade.php b/resources/views/components/text-input.blade.php index 4f94292..c8e7e90 100644 --- a/resources/views/components/text-input.blade.php +++ b/resources/views/components/text-input.blade.php @@ -1,5 +1,6 @@
{{$title}}
+ value="{{$value ?? ''}}" @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif {{(isset($required))? 'required': ''}}> + @error((string)$name){{ $message }}@enderror