FelipePSoares / EconoFlow

An easy system to help you control your personal or company budget.
https://econoflow.pt/
MIT License
3 stars 3 forks source link

[Frontend] Change layout on Expense edit form #238

Closed FelipePSoares closed 2 weeks ago

FelipePSoares commented 2 weeks ago

Today is almost impossible edit expense on mobile, because the fields are to small.

To ensure that the user can have the best experience, we need to change the layout to work well on mobile.

During this modification we can apply the same system that we have on add forms to show errors. for example this name field in add-expense:

@if (name?.invalid && name?.touched){
    <mat-error *ngFor="let error of getFormFieldErrors('name')">{{ error }}</mat-error>
}