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

Fetching values for LOVs from backend #16

Open
slawkor opened this issue Dec 22, 2016 · 1 comment
Open

Fetching values for LOVs from backend #16

slawkor opened this issue Dec 22, 2016 · 1 comment

Comments

@slawkor
Copy link

slawkor commented Dec 22, 2016

The evolutility backend offers an LOV endpoint. But in the frontend you use hardcoded lists for LOV fields, like this:

id: 'priority', attribute: 'priority', type: 'lov', label: 'Priority', required: true,
                    width: 100,  inMany: true,
                    list: [
                        {id: 1, text: '1 - ASAP'},
                        {id: 2, text: '2 - Urgent'},
                        {id: 3, text: '3 - Important'},
                        {id: 4, text: '4 - Medium'},
                        {id: 5, text: '5 - Low'}
                    ]

Is there a way to easily fetch the list items from the backend instead?

@evoluteur
Copy link
Owner

This feature is not implemented yet. I plan to do it (it is in evolutility-ui-react already).

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