How can i set initial directory relative to user home in path_selector

usecase: I expect users to have directory “.venvs” in their home.
How can I point path_selector to start there?

You’d set show_hidden: true and set the directory to the current users directory.

https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/form-widgets.html?highlight=path_selector

Something like this with ERB - I’m not sure if ~ would work, but seems like it should if it doesn’t.

path:
  widget: path_selector
  show_hidden: true
  direcctory: "<%= CurrentUser.home %>"

not working for me…

I do not strictly need path selector, the goal is to offer existing virtual environments to my $user…

You need to rename the file from form.yml to form.yml.erb so that it’ll template the file.