How can I give a text input a default value in Elixir/Phoenix?

后端 未结 0 1904
清歌不尽
清歌不尽 2021-01-23 10:09

I have this field

  <%= number_input f, :duration_minutes %>

and I would like to give it a default of 60. How can I do that?

The obv

相关标签:
回答
  • 消灭零回复
提交回复
热议问题