I first wrote the date picker component as one function and attrs for specific features. But now I’ve switched to specific functions for each "variation". Anyone have strong opinions or preferences on this? #elixirlang
Comments
Log in with your Bluesky account to leave a comment
My main motivation is that with specific component functions I can control which attrs are supported in each variation e.g. range must set start/end fields, multiple only works with the regular date picker, time format only works in the time picker, etc...
Comments