How to set default value in text field.

Silverstripe Version:3.2.1

How to set the default value in the text field in pages. I want to set my price by default 30 in the price textbox on my custom module page file.

Couldn’t find the equivalent docs entry for v3 but DataObject::$defaults lets you do that: