{{-- Form Group Component Usage: Props: - label: Field label (required) - name: Input name attribute (required) - type: Input type - text, email, number, tel, date, textarea, password (default: text) - value: Default value (optional) - placeholder: Placeholder text (optional) - required: Is field required (default: false) - disabled: Is field disabled (default: false) - readonly: Is field readonly (default: false) - prefix: Input prefix text (optional) - suffix: Input suffix text (optional) - help: Help text below input (optional) - rows: Rows for textarea (default: 3) - step: Step for number input (optional) - min: Min value for number input (optional) - max: Max value for number input (optional) - col: Bootstrap column class (default: col-md-6) --}} @props([ 'label', 'name', 'type' => 'text', 'value' => null, 'placeholder' => null, 'required' => false, 'disabled' => false, 'readonly' => false, 'prefix' => null, 'suffix' => null, 'help' => null, 'rows' => 3, 'step' => null, 'min' => null, 'max' => null, 'col' => 'col-md-6' ]) @php $inputId = $name . '_' . uniqid(); $oldValue = old($name, $value); $hasError = $errors->has($name); @endphp