Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

SerialiseFormToObject with MultiSelect dropdown #4186


User avatar
0
mdonogma created

Most of the existing code in zero uses SerialiseFormToObject in the Javascript when posting values back to the server.

This works with dropdownlist fine but not with MultiSelectdropdownlist

The zero demo does not follow the SerialiseFormToObject pattern when posting values.

How do we get it working with SerialiseFormToObject as the demo example is inconsistent with the working code in zero when it comes to posting values


4 Answer(s)
  • User Avatar
    0
    strix20 created

    There is a post on the issue tracker for this.

    I suggested an external plugin we are using, called seralize.JSON, it works well. You can find a link in the issue:

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/561">https://github.com/aspnetzero/aspnet-ze ... issues/561</a>

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @strix20 :)

  • User Avatar
    0
    mdonogma created

    <cite>ismcagdas: </cite> Thanks @strix20 :)

    So is this fix in next release of aspnetzero? According to the link sent it would be ?

    If yes, how long till next release?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Mdonogma,

    We are planning to include this into 5.1 release which is after v5. We are planning to release v5 this week but it will not include this change because we haven't worked on it yet.