-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix documented default for emptyMessage on several components #5850
Fix documented default for emptyMessage on several components #5850
Conversation
Fixed the documented default value for the "emptyMessage" property for the Dropdown, Listbox, MultiSelect and TreeSelect components. They were all incorrectly documented as having a default value of "No results found". I changed each one to "No available options".
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
There is no need to change apidoc/index.json. Components' .d.ts files must be changed. For example: https://github.com/primefaces/primevue/blob/master/components/lib/dropdown/Dropdown.d.ts#L487 Actions will be updated according to .d.ts changes. |
This reverts commit ee79538.
Fixed the documented default value for the "emptyMessage" property for the Dropdown, Listbox, MultiSelect and TreeSelect components in the components' type definition files. I have changed the values from "No results found" to "No available options".
@tugcekucukoglu Sorry for diving straight in and getting it wrong, and thanks for pointing me to the right place. Hopefully my amendments are the correct resolution. |
The changes you made are exactly the solution we are looking for. We gladly accept the PR. Thanks for your contribution. |
Fixed the documented default value for the "emptyMessage" property for the Dropdown, Listbox, MultiSelect and TreeSelect components. They were all incorrectly documented as having a default value of "No results found". I changed each one to "No available options".