in demo, use core-input so it's more compatible with core-range