Skip to content

Default Value Woes #8

@davzie

Description

@davzie

Great library and one I would love to continue using. I have found however that where I provide a default fallback for my Input key, it returns a string instead.

For example:

$albumId = Input::get('album_id',null);

This is actually returning

string(0) ''

I've delved into the code and can see you're utilising Laravel's Request input anyway to handle this for you and I've tried to put some conditionals into the cleaning method but I can't really seem to get to grips with why it still isn't working so for the moment I have reverted to using Laravel's input facade.

Thanks a bunch for the great work so far though!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions