         }
         textFieldPropValue.isUserInteractionEnabled = editMode
         textFieldPropValue.delegate = self
+    }
+    
+    private func setTextFieldBorders(for value: Bool) {
         if  isEditingAllowed {
             textFieldPropValue.layer.borderColor = RealmStyle.tintColor.cgColor
             textFieldPropValue.layer.borderWidth = 1.0

            self?.textFieldPropValue.isHidden = !value
        }))
        disposables.append(
            textFieldPropValue.bind(\.isUserInteractionEnabled, to: self, at: \.isEditingAllowed
        ))
        toggle.isHidden = true
        contentView.addSubview(toggle)
    }

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