Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Reactivesearch 的 RangeSlider 组件并陷入设置范围值。我有一个包含书籍的数据库,我想在书籍的出版年份使用 RangeSlider。我希望起始值是数据库中的最小年份,而结束值是最大年份。知道怎么做吗?
defaultSelected如果您使用的是版本 2 或版本 3 ,您可以使用 ReactiveSearch 的 DynamicRangeSlider 组件并使用该道具defaultValue。
defaultSelected
defaultValue