Skip to content

Converter doesn't work properly #4

Description

@morphace

Hi,

First of all: Thanks for having developed ListBuilder and thanks for supporting it.

Yesterday, I used ListBuilder for my app and it works very well.

Nevertheless, I found an issue related to the usage of Converters. If you assign a Converter to the component (using setConverter()), it will be used, but the List that is being returned by convertToPresentation() will never appear.

I found that AbstractSelect is using setInternalValue() in order to set the converted value. ListBuilder however relies on setValue() being called (which is not the case in the described situation).

So I had to override setInternalValue() to call setValue() to make it work. Such things however should be managed in the ListBuilder class, I think.

Thanks,
Markus

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions