evolutility-ui-jquery icon indicating copy to clipboard operation
evolutility-ui-jquery copied to clipboard

Fetching values for LOVs from backend

Open slawkor opened this issue 9 years ago • 1 comments

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?

slawkor avatar Dec 22 '16 12:12 slawkor

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

evoluteur avatar Dec 28 '16 09:12 evoluteur