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

Using dot-notation in creation view #698

Closed
madhuracj opened this issue Sep 19, 2015 · 1 comment
Closed

Using dot-notation in creation view #698

madhuracj opened this issue Sep 19, 2015 · 1 comment

Comments

@madhuracj
Copy link

First of all, thanks for the great library.

I am using version 0.8 of the library. I tried using the ability to use dot notation introduced in #549 and in listView it works fine.

However, if I use the same in creationView,

    bus.creationView()
        .fields([
            ...
            nga.field('driver', 'reference')
                .label('Usual driver')
                .targetEntity(driver)
                .targetField(nga.field('person.firstName'))
                .sortField('person.firstName')
                .sortDir('ASC'),
            ...
        ]);

does not seem to work.

The GET request looks like
http://.../driver?pageRows=30&pageStart=0&sortDir=ASC&sortField=person
Even though the server ignores the erroneous sortField and sends the correct JSON, I do not see a dropdown.

@madhuracj
Copy link
Author

This issue has since been fixed.

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

1 participant