You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
Look, I might be a real dummy but I've just been battling away with the yearRange parameter on Select objects. The documentation does not mention that the years need to be Minimum first, Maximum last.
So 2 things, what do people think about updating the documentation to contain more fully featured examples? (constrainWidth is another one that I can't seem to get to work properly).
Secondly is there an industry standard on outputting into the console any invalid object options? For instance, if I want to display all the years from 2000-2023 and the object cannot handle me passing the array this way [2023,2000] then should there be a message output to the console indicating this is an issue? Or perhaps alternatively we should be modifying the FormSelect object to be more robust in it's handling of these parameters?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys,
Look, I might be a real dummy but I've just been battling away with the yearRange parameter on Select objects. The documentation does not mention that the years need to be Minimum first, Maximum last.
So 2 things, what do people think about updating the documentation to contain more fully featured examples? (constrainWidth is another one that I can't seem to get to work properly).
Secondly is there an industry standard on outputting into the console any invalid object options? For instance, if I want to display all the years from 2000-2023 and the object cannot handle me passing the array this way [2023,2000] then should there be a message output to the console indicating this is an issue? Or perhaps alternatively we should be modifying the FormSelect object to be more robust in it's handling of these parameters?
Thoughts anyone?
Beta Was this translation helpful? Give feedback.
All reactions