Export Notebook as slides does not use nbconvert configuration

I have created a notebook with “hide_input” cell tags and I added the configuration option c.TagRemovePreprocessor.remove_input_tags = set(["hide_input",]) to ~/.jupyter/jupyter_nbconvert_config.py.

From the terminal, nbconvert --to slides works correctly and removes the input from tagged cell. However, when exporting from the jupyter lab menu (“Export Notebook As…”), the input is not removed from tagged cells as if the configuration file is not used. Even though according to the documentation the export command should use the nbconvert configuration.

What am I missing?