I am trying to initialize <color-cycle> without the previous state. My application is to create a list of tasks and I want the user to be able to select the priority of the task with a color.
When I run the app for the first time, <color-cycle> works fine because I don't have any colors selected and I can create a new task, but if I want to add another task when the dialog opens, <color-cycle> is active with the previous selection.
I want to open the dialog to create a new task without <color-cycle> showing with the previous selection. Any suggestion?
Hi
I am trying to initialize
<color-cycle>
without the previous state. My application is to create a list of tasks and I want the user to be able to select the priority of the task with a color. When I run the app for the first time,<color-cycle>
works fine because I don't have any colors selected and I can create a new task, but if I want to add another task when the dialog opens,<color-cycle>
is active with the previous selection.I want to open the dialog to create a new task without
<color-cycle>
showing with the previous selection. Any suggestion?This is my code
This is the code for the
<color-circle></color-circle>
that I'm using<color-circle [colors]="colors" (onChange)="changeComplete($event)" (onChangeComplete)="changeComplete($event)"></color-circle>