add selectable topping defaultId
This commit is contained in:
parent
3b4dec5e61
commit
f9d833e3b7
3 changed files with 156 additions and 84 deletions
|
|
@ -159,6 +159,9 @@ export class RecipeDetailsComponent implements OnInit {
|
|||
recipes: [
|
||||
...(this.repl.length <= 0 ? [] : this.repl)
|
||||
],
|
||||
ToppingSet: [
|
||||
...(this.tpl.length <= 0 ? [] : this.tpl)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -221,7 +224,7 @@ export class RecipeDetailsComponent implements OnInit {
|
|||
}
|
||||
|
||||
onToppingListChange(tpl: unknown[]) {
|
||||
// console.log('Topping List Form Changed', tpl);
|
||||
console.log('Topping List Form Changed', tpl);
|
||||
this.tpl = tpl as never[];
|
||||
this.isValueChanged ||= tpl != undefined;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue