Yes it should be remembered.
See this post: Node Creation oneditprepare - #2 by Steve-Mcl and the solution 2 posts below.
In short, while the values might be saved as string, using the RED.util
function knows how to restore the correct value and type selected by the user.