feat: implement change password and send to fiscal activation modules with forms and services
This commit is contained in:
@@ -4,10 +4,17 @@ import { InputComponent } from '../input/input.component';
|
||||
|
||||
@Component({
|
||||
selector: 'field-unit-price',
|
||||
template: `<app-input label="قیمت پایه" [control]="control" [name]="name" type="price" />`,
|
||||
template: `<app-input
|
||||
label="قیمت پایه"
|
||||
[control]="control"
|
||||
[name]="name"
|
||||
[hint]="hint"
|
||||
type="price"
|
||||
/>`,
|
||||
imports: [ReactiveFormsModule, InputComponent],
|
||||
})
|
||||
export class UnitPriceComponent {
|
||||
@Input({ required: true }) control = new FormControl<string>('');
|
||||
@Input() name = 'unit_price';
|
||||
@Input() hint = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user