     private let margin: CGFloat = 20.0
     private let padding: CGFloat = 10.0
     private var disposables: [NSKeyValueObservation] = []
-    private var isEditingAllowed = false
+    @objc private dynamic var isEditingAllowed = false
     
     override init(style: CellStyle, reuseIdentifier: String?) {
         super.init(style: style, reuseIdentifier: reuseIdentifier)

        }
        textFieldPropValue.isUserInteractionEnabled = editMode
        textFieldPropValue.delegate = self
        if  isEditingAllowed {
            textFieldPropValue.layer.borderColor = RealmStyle.tintColor.cgColor
            textFieldPropValue.layer.borderWidth = 1.0

            self?.textFieldPropValue.isHidden = !value
        }))
        disposables.append(
            observe(\.isEditingAllowed, onChange: { [weak self] (value) in
                self?.textFieldPropValue.isUserInteractionEnabled = value
                self?.setTextFieldBorders(for: value)
            })
        )
        toggle.isHidden = true
        contentView.addSubview(toggle)
    }
