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

@collectionId and @collectionName in UI RecordSelectOption #1322

Closed
dhall2 opened this issue Dec 20, 2022 · 1 comment
Closed

@collectionId and @collectionName in UI RecordSelectOption #1322

dhall2 opened this issue Dec 20, 2022 · 1 comment

Comments

@dhall2
Copy link

dhall2 commented Dec 20, 2022

I noticed in a relation picker on v0.10.2 the id and one additional field is included for context. In my case, it included collectionId.

image

Looking through the UI code, props are filtered against a list of excluded meta props.

const excludedMetaProps = ["id", "created", "updated", "@collectionId", "@collectionName"];

It appears these were renamed in v0.8.0:

- Removed the `@` prefix from the system record fields for easier json parsing:

Would a PR for this be welcome?

@ganigeorgiev
Copy link
Member

ganigeorgiev commented Dec 21, 2022

Thank you for noticing it. I'll remove it in the next release.

The relation picker UI will change anyway in PocketBase v0.12 in relation to #976.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants