"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const field_1 = require("../../../../../client/field");
class Select extends field_1.Field {
    constructor($props, $system) {
        const DEFAULT_STYLE = $system.style['select'];
        super($props, $system, $system.api.document.createElement('select'), {
            valueKey: 'value',
            defaultStyle: DEFAULT_STYLE,
            defaultValue: '',
        });
        const { tabIndex } = $props;
        if (tabIndex !== undefined) {
            this.$element.tabIndex = tabIndex;
        }
    }
}
exports.default = Select;
//# sourceMappingURL=Component.js.map