added accessor for readonly
This commit is contained in:
parent
e4b5ae496b
commit
20ac50bc22
|
@ -65,6 +65,10 @@ class Renderer{
|
|||
return this.#input.minOccurs > 0
|
||||
}
|
||||
|
||||
get readOnly(){
|
||||
return this.#input.schema.readOnly
|
||||
}
|
||||
|
||||
static instance(input){
|
||||
if(this.isEnum(input)){
|
||||
return new EnumInputRenderer(input)
|
||||
|
|
Loading…
Reference in New Issue