- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/ - Create useCustomerSelection() composable for managing insured/buyer selection - Create usePolicyApi() composable for policy API operations - Update auto quote components to use insured/buyer instead of client - Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits - Make chassis_number and engine_number optional - Update auto quote types and composables to match new API structure - Update auto quote page to submit to policy API with new structure
21 lines
546 B
Markdown
21 lines
546 B
Markdown
# FormField
|
|
|
|
A wrapper for form elements that provides validation and error handling.
|
|
|
|
## Key Props
|
|
|
|
- `label`: to set the label for the form control.
|
|
- `description`: to provide additional information below the label.
|
|
- `hint`: to display a hint message next to the label.
|
|
- `help`: to display a help message below the form control.
|
|
- `error`: to display an error message below the form control.
|
|
- `size`: to change the size of the FormField, the `size` is proxied to the form control.
|
|
|
|
## Usage
|
|
|
|
```vue
|
|
<UFormField
|
|
<!-- props here -->
|
|
/>
|
|
```
|