mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
16 lines
370 B
JavaScript
16 lines
370 B
JavaScript
const fields = foundry.data.fields;
|
|
|
|
export default class RangeField extends fields.StringField {
|
|
constructor(context = {}) {
|
|
const options = {
|
|
choices: CONFIG.DH.GENERAL.range,
|
|
required: false,
|
|
blank: true
|
|
};
|
|
super(options, context);
|
|
}
|
|
|
|
static prepareConfig(config) {
|
|
return true;
|
|
}
|
|
}
|