Closed Netail closed 3 months ago
Not sure if this is default behaviour, to set disabled input values to undefined, but something you want to use them as a display. Maybe an option for this would be nice?
Oh readOnly, sorry missed that completely. Thanks :)
What you were expecting: Disabled TextInput value is passes initial value back
What happened instead: Disabled TextInput value is passed back as undefined
Steps to reproduce: Have a SimpleForm with a TextInput which has a disabled field for the edit page, which gets preloaded with an initial value, when saving it returns undefined
Environment