Skip to content
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

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

neilpadfield
Copy link
Contributor

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".

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".
Copy link

vercel bot commented Jun 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Jun 7, 2024 1:48pm
primevue-v4 ⬜️ Ignored (Inspect) Visit Preview Jun 7, 2024 1:48pm

@tugcekucukoglu
Copy link
Member

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.

@tugcekucukoglu tugcekucukoglu added the Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. label Jun 7, 2024
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".
@neilpadfield
Copy link
Contributor Author

@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.

@tugcekucukoglu tugcekucukoglu removed the Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. label Jun 10, 2024
@tugcekucukoglu tugcekucukoglu added this to the 3.53.0 milestone Jun 10, 2024
@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 10, 2024
@tugcekucukoglu tugcekucukoglu merged commit 4ad8cd7 into primefaces:master Jun 10, 2024
3 of 4 checks passed
@tugcekucukoglu
Copy link
Member

The changes you made are exactly the solution we are looking for. We gladly accept the PR. Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants