Custom type not showing in Admin UI update form
I have a custom type that wraps %Duration{} with some custom logic for parsing it from a string then converting it back to a string.
I've implemented the protocol Phoenix.HTML.Safe which just calls my function to return a string of the duration.
My custom duration shows up in the primary read action of the Admin UI. It also shows up when I click the little circled into button on a row.
But when I click the edit button on the row, the input field for the duration is empty instead of showing the current value. Why is that?
I've implemented the protocol Phoenix.HTML.Safe which just calls my function to return a string of the duration.
My custom duration shows up in the primary read action of the Admin UI. It also shows up when I click the little circled into button on a row.
But when I click the edit button on the row, the input field for the duration is empty instead of showing the current value. Why is that?
