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