- Renamed `ConnectedServicesService` to `ConnectedAppService` and adjusted related factories, DTOs, and forms. - Introduced `ConnectionProtocolService` and `ConnectionProviderService` for managing protocols and providers. - Updated Livewire forms to improve validation and allow real-time provider searches. - Added a `ConnectionStatus` field and related dropdown to service connection forms. - Enhanced form handling with new services, search functionality, and validation rules. - Refactored factory and DTO structure for better consistency and modularity. - Added service layer documentation and streamlined component data mappings.
17 lines
635 B
Markdown
17 lines
635 B
Markdown
All the forms used in the application are stored here.
|
|
|
|
Each form should validate the data before sending it to the server.
|
|
This is done by using the `validate` method.
|
|
|
|
Validations that require the db, should not be live (realtime),
|
|
they should be done on the only once, preferably after the form is submitted.
|
|
|
|
Form can be used to both create and update data. Name should start with:
|
|
|
|
- `Store` for both cases - preferred
|
|
- `Create` for creating a new record
|
|
- `Update` for updating an existing record
|
|
|
|
When handle both cases, use separate `save` and `update` methods.
|
|
Livewire form docs: https://livewire.laravel.com/docs/4.x/forms
|