You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
If I create choices from a task I'd expect the temporary choice to disappear and set as default choice only the first choice I explicitly created.
Actual behavior
The temporary choice remains and it's also the default choice.
How to reproduce the issue
If you run this task you should be able to see it
desc"Create a Intro board and relative field settings"task:create_intro_board=>:environmentdoifBinda::Board.where(slug: "intro").any?puts"Intro board already exists"elseintro=Binda::Structure.create!(slug: "intro",name: "Intro",instance_type: "board")puts"Intro board has been successfully created"radio_setting=field_group.field_settings.create!(name: "Text color",field_type: "radio",allow_null: false)radio_setting.update_attribute("slug","intro-text-color")radio_setting.choices.create!(value: "dark",label: "Dark")radio_setting.choices.create!(value: "light",label: "Light")puts"Intro text color has been successfully created"puts""puts"All done!"endend
System configuration
Binda version: 0.1.9
Rails version: 5.1.2
The text was updated successfully, but these errors were encountered:
Expected behavior
If I create choices from a task I'd expect the temporary choice to disappear and set as default choice only the first choice I explicitly created.
Actual behavior
The temporary choice remains and it's also the default choice.
How to reproduce the issue
If you run this task you should be able to see it
System configuration
Binda version: 0.1.9
Rails version: 5.1.2
The text was updated successfully, but these errors were encountered: