Files
mixtape/zero.Backoffice.UI/app/modules/countries/editor.ts
T

12 lines
376 B
TypeScript
Raw Normal View History

2020-10-19 14:48:21 +02:00
2021-12-09 10:51:10 +01:00
import Editor from '../../editor/editor';
2020-10-19 14:48:21 +02:00
const editor = new Editor('country', '@country.fields.');
editor.blueprintAlias = 'country';
2021-12-09 10:51:10 +01:00
2020-10-19 14:48:21 +02:00
editor.field('name', { label: '@ui.name' }).text(120).required();
//editor.field('alias', { label: '@ui.alias' }).text().required();
editor.field('code').text(2).required();
editor.field('isPreferred').toggle();
export default editor;