Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reactive_color_picker with enableAlpha: false cannot be changed after cleared #143

Open
thedeukalion opened this issue Apr 7, 2024 · 0 comments

Comments

@thedeukalion
Copy link

I have a form that allows the 'Color' to be null.
And there's a clear button of that color.
I do not wish to use 'alpha' or any kind of opacity at all for this.
While having a Color control with enableAlpha: false and then pressing the 'Clear' button the alpha layer is set to 0 and I can no longer change it. The only way to reset it now is outside the control or reloading the whole form.

Reproduce by having this

ReactiveColorPicker(
  formControlName: formControlName,
  enableAlpha: false,
)

Then pressing the clear button. No alpha layer available afterwards. I can't select a color.
The form has both been tested by using Color? and Color. Color is not required and should not need to be.

Screenshot 2024-04-07 130135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant