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

Selecting a dataField with a particular tag #4

Closed
librarywebchic opened this issue Mar 5, 2018 · 1 comment
Closed

Selecting a dataField with a particular tag #4

librarywebchic opened this issue Mar 5, 2018 · 1 comment
Assignees

Comments

@librarywebchic
Copy link

There appears to be a way to select a particular subfield but I'm wondering if there is a way to select a datafield with a particular tag.

@jiaola
Copy link
Owner

jiaola commented Mar 6, 2018

For now, there is no method at the moment. You may use the code like below to find them.

    var fields = record.dataFields.filter(function (df) {
        return df.tag == '100';
    });

I'll work on creating a method to add this feature.

@jiaola jiaola self-assigned this Mar 7, 2018
@jiaola jiaola mentioned this issue Mar 7, 2018
@jiaola jiaola closed this as completed in #5 Mar 7, 2018
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