Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor value doesn't save in database #3

Open
asadacn opened this issue Jun 11, 2020 · 1 comment
Open

Editor value doesn't save in database #3

asadacn opened this issue Jun 11, 2020 · 1 comment

Comments

@asadacn
Copy link

asadacn commented Jun 11, 2020

editor value doesn't save in database
here is my code::
array(
"type" => "editor",
"id" => "terms_condition",
"label" => "Terms & Condition",
"description" => "Terms & Condition of your company",
"icon" => "fa-file-text-o",
"validation" => 'nullable'
)

@pxmmpd
Copy link

pxmmpd commented Jan 2, 2024

// Assuming your model is called Company and the "terms_condition" field exists in your table.

$company = new Company();
$company->terms_condition = $request->input('terms_condition');
$company->save();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants