fixed ComponentLookupError in isReadonly method