Skip to content

Select - place holder issue #41

Closed
Closed
@ramakrij

Description

@ramakrij

Expected behaviour

I expected the select placeholder to disappear once the user selects any valid option.

Actual behaviour

Place holder does not disappear even after a valid field is selected.

This appears to be due to the order of builder used for select. select: {template: selectTemplate, builder: defaults.concat(selectPlaceholder)}. Since the selectplaceholder builder relies on ngmodel builder replace all functionality, the placeholderbuilder should be invoked before ngmodelbuilder.

Fix: select: {template: selectTemplate, builder: [selectPlaceholder,sfField, ngModel, ngModelOptions, condition]}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions