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
I saw that EuiRange has an isLoading prop, but EuiDualRange does not. I'm using the EuiDualRange component for the range slider input control in Dashboard , and it'd be great if EuiDualRange could handle rendering a loading indicator.
As @thompsongl mentioned the isLoading prop only works in a dropdown implementation. If we follow the same pattern for the EuiDualRange this how it would look like:
Even if it doesn't work I think we should add this prop to make both range sliders more consistent. Also, we should explain in the props table that the isLoading prop only works on dropdown implementations.
Activity
thompsongl commentedon Feb 16, 2022
Looks like
EuiRangeonly respects theisLoadingprop on dropdown implementations: https://elastic.github.io/eui/#/forms/range-sliders#inputs-with-range-in-a-dropdownEuiDualRangeshould match, if it's confirmed that this is valuable from a design perspective.elizabetdev commentedon Feb 17, 2022
As @thompsongl mentioned the
isLoadingprop only works in a dropdown implementation. If we follow the same pattern for the EuiDualRange this how it would look like:@cqliu1 would this work for your use case?
Even if it doesn't work I think we should add this prop to make both range sliders more consistent. Also, we should explain in the props table that the
isLoadingprop only works on dropdown implementations.