To use the :country input, please install a country_select plugin

前端 未结 6 1302
-上瘾入骨i
-上瘾入骨i 2021-01-18 03:19

I have a country attribute to my guidelines model. I don\'t want to use a plugin, I just want to have country as a string. Everything is working until I try to edit a guide

6条回答
  •  旧巷少年郎
    2021-01-18 04:03

    I recommend you to use the country-select:

    gem 'country-select'
    

    I spent a lot of hours to find out why country-select is not working in my form :)

提交回复
热议问题