Fairly new to Elixir and looking for a small help.
I am using changeset to construct the form. In the form, I want one of the fields to be pre populated with the value and that field disabled. Once the user submits the form, the value should be there in the form that is submitted.
I created the changeset with that field and I am able to populate the field and disable it. Only problem is that field doesn’t show up in the submitted form data.
Could you please explain why the value is not sent in the form?
Also, I don’t want to make it a hidden field because I want the value to be shown to the user but it should be disabled and I want this value back in the form thats submitted