We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Display attribute of field as defautlt column. Keystone v3 supported this.
This no longer works in Keystone 4.
`'use strict';
const keystone = require('keystone');
const Types = keystone.Field.Types;
/**
const EventLocation = new keystone.List('EventLocation', { map: { name: 'location.name' }, track: true
});
EventLocation.add({ location: { type: Types.Location, enableMapsAPI: true, initial: true, collapse: false } });
EventLocation.defaultColumns = 'location.name, location.suburb, location.state'; EventLocation.register(); `
Keystone 4.2.1 Node 8 Admin UI
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
Display attribute of field as defautlt column. Keystone v3 supported this.
Actual/Current behavior
This no longer works in Keystone 4.
Steps to reproduce the actual/current behavior
`'use strict';
const keystone = require('keystone');
const Types = keystone.Field.Types;
/**
*/
const EventLocation = new keystone.List('EventLocation', {
map: { name: 'location.name' },
track: true
});
EventLocation.add({
location: {
type: Types.Location,
enableMapsAPI: true,
initial: true,
collapse: false
}
});
EventLocation.defaultColumns = 'location.name, location.suburb, location.state';
EventLocation.register();
`
Environment
Keystone 4.2.1
Node 8
Admin UI
The text was updated successfully, but these errors were encountered: