src/Forms/ConfirmedPasswordField.php
public function saveInto(DataObjectInterface $record)
    {
        if (!$this->isSaveable()) {
            return;
        }

        if (!($this->canBeEmpty && !$this->value)) {
            parent::saveInto($record);
        }
    }
public function saveInto(DataObjectInterface $record)
    {
        if (!$this->isSaveable()) {
            return;
        }

        if (!($this->canBeEmpty && !$this->value)) {
            parent::saveInto($record);
        }
    }
public function saveInto ( DataObjectInterface $ record ) { if ( ! $ this -> isSaveable ( ) ) { return ; } if ( ! ( $ this -> canBeEmpty && ! $ this -> value ) ) { parent :: saveInto ( $ record ) ; } }
Only save if field was shown on the client, and is not empty.

@param DataObjectInterface $record
Only save if field was shown on the client and is not empty .