No on leaf calling remove

hi
in my cli when i do no on a leaf of list it is calling remove for that leaf, is there any setting so that whenever we say no on leaf it should call set_elem with default values?

It sounds like you have set the CONFD_DAEMON_FLAG_NO_DEFAULTS flag for your data provider.

If you doesn’t call confd_set_daemon_flags() with the CONFD_DAEMON_FLAG_NO_DEFAULTS flag ConfD will issue set_elem() callbacks to set default values, even if they have not actually been set by the northbound agent.