-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add doc for value caption disabling alphabetical sort #459
Conversation
src/ui/Facet/Facet.ts
Outdated
* > or before the `init` call, using the `options` top-level function (see | ||
* > [Components - Passing Component Options Before the init Call](https://developers.coveo.com/x/PoGfAQ#Components-PassingComponentOptionsBeforetheinitCall)). | ||
* | ||
* > * Using value captions will disable alphabetical sorts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be a good idea to add a link to the availableSorts
option:
- Using value captions will disable alphabetical sorts (see the [
availableSorts
]{@link Facet.options.availableSorts} option).
src/ui/Facet/Facet.ts
Outdated
* **Notes:** | ||
* > * The [`FacetRange`]{@link FacetRange} component does not support this option. | ||
* | ||
* > * Using value captions will disable alphabetical sorts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a link to the valueCaption
option:
- Using value captions will disable alphabetical sorts (see the [
valueCaption
]{@link Facet.options.valueCaption} option).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my two comments; otherwise it's great :)
https://coveord.atlassian.net/browse/JSUI-1578
This change is