Hi. This is a nice component. Thank you for sharing.
I have a concern about the 'error' property. Since I have to provide it, I have to compute myself the boolean using the current selected interval and disabled intervals, otherwise the initial red-or-green color of the component can be wrong.
This feels weird and a bit overly complicated.
Could you compute it inside the component instead ?
Hi. This is a nice component. Thank you for sharing.
I have a concern about the 'error' property. Since I have to provide it, I have to compute myself the boolean using the current selected interval and disabled intervals, otherwise the initial red-or-green color of the component can be wrong.
This feels weird and a bit overly complicated.
Could you compute it inside the component instead ?