revert to text type for object policies (#234985)
parent
6285994c71
commit
f59439b9a0
|
@ -157,10 +157,10 @@ class ObjectPolicy extends BasePolicy {
|
|||
super(PolicyType.StringEnum, name, category, minimumVersion, description, moduleName);
|
||||
}
|
||||
renderADMXElements() {
|
||||
return [`<multiText id="${this.name}" valueName="${this.name}" required="true" />`];
|
||||
return [`<text id="${this.name}" valueName="${this.name}" required="true" />`];
|
||||
}
|
||||
renderADMLPresentationContents() {
|
||||
return `<multiTextBox refId="${this.name}" />`;
|
||||
return `<textBox refId="${this.name}"><label>${this.name}:</label></textBox>`;
|
||||
}
|
||||
}
|
||||
class StringEnumPolicy extends BasePolicy {
|
||||
|
|
|
@ -262,11 +262,11 @@ class ObjectPolicy extends BasePolicy {
|
|||
}
|
||||
|
||||
protected renderADMXElements(): string[] {
|
||||
return [`<multiText id="${this.name}" valueName="${this.name}" required="true" />`];
|
||||
return [`<text id="${this.name}" valueName="${this.name}" required="true" />`];
|
||||
}
|
||||
|
||||
renderADMLPresentationContents() {
|
||||
return `<multiTextBox refId="${this.name}" />`;
|
||||
return `<textBox refId="${this.name}"><label>${this.name}:</label></textBox>`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue