Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

stephen waweru's avatar

ck editor text area send a null value yet there is a text value

i am fetching data from the database and then viewing it ata form where i want to update it.so i want o get the rental details value from the table in the database and view it in the text area input form.also i have integrated ck editor so that the user can make an edit efficiently on the text area.the issue am getting is am able to get the value of the rental details from the table and shows very vell in the textarea but when i send the request it shows a null value yet on the text area it shows there is a text.

in the form

The form

upon making a post request

when i send a post request

where might I be going wrong?

in the blade file

<div class="form-group inputdetails">
      <label>Rental Details<span class="text-danger inputrequired">*</span></label>
       <textarea class="form-control text-white bg-dark rental-details" name="rental_details" placeholder="Describe the Rental property here.explain it with as more details as possible" rows="4">
            </textarea>
   </div>

in the script

$('.rental-details').ckeditor();
CKEDITOR.instances.rental_details.setData(response.editrentalhsedetail.rental_details)

where might I be missing the point here

0 likes
6 replies
Snapey's avatar

You solved your previous issue so just deleted the question?

stephen waweru's avatar

@Snapey i realized i had not explained it fully because i was missing some points.i re-edited it and added more details here by creating a new one

Snapey's avatar

Do you have another field with the same name? Check.

Please or to participate in this conversation.