JavaScript for WordPress › Forums › Gutenberg Development › Meta data – default value › Reply To: Meta data – default value
January 31, 2019 at 3:58 pm
#87324
Keymaster
Correct. I believe you do not want to have a default value for the meta field.
One simple way here is if the value of the attribute is empty you can just write a conditional to use another value.