Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
I have tried but its not working. I have field 'created_by' which is integer field and it will have user id in it. So just trying to add default value 1 when create form is submitted.
Number::create("created_by")
->inputWidget(
TextBox::create()->defaultValue('1')
),
Thanks.
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo