Meta Box
Support Forum
Support › General › Std value is missing with disabled set to trueResolved
Hi,
if i have setup "std" option to "0" together with "disabled" to true, then the value is empty after post save..
Hi Hazmi,
When you set a field disabled, its value won't be submitted. Thus, there's no value saved. Please see this answer on Stack Overflow for more info.
disabled
there is no value saved only if i have "std=>0" .. if i have anything else then "0", the value is saved - it's ok?
Can you please check again? I've just tested on my localhost and the std value is not saved, no matter the value is, when the disabled attribute is set to true.
std
true
Here is my video:
http://recordit.co/29FjNuuQAU
i checked it again and don't see a problem now.. :/ Thank you for your time.