Hello Alexandre,

For angular patternfly 4 (alpha), pfSelect has been updated to use different 
bindings (as we move away from using jquery we moved away from using select 
within pfSelect). Unfortunately, the documentation has not yet been updated.

There has also been an issue raised 
https://github.com/patternfly/angular-patternfly/issues/408 
<https://github.com/patternfly/angular-patternfly/issues/408> to add ng-options 
back to pfSelect.  This has not yet been evaluated or added to the current 
backlog.

I have added issue https://github.com/patternfly/angular-patternfly/issues/428 
<https://github.com/patternfly/angular-patternfly/issues/428> to address the 
currently incorrect documentation in version 4.

Jeff



> On Mar 1, 2017, at 3:48 PM, Alexandre Briani Kieling <[email protected]> 
> wrote:
> 
> Guys, I'm confused with the pfSelect documentation.
> 
> In the Usage section, it says I should use
> <pf-select ng-model="" ng-options=""></pf-select>
> 
> which throws error "Controller 'select', required by directive 'ngOptions', 
> can't be found!"
> 
> In the Example section, it uses:
> <pf-select selected="pet" empty-value="{{noPet}}" options="pets"></pf-select>
> 
> -- 
> Alexandre Kieling
> Senior Software Engineer
> Red Hat, Inc. | JBoss Middleware
> _______________________________________________
> Patternfly-angular mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/patternfly-angular

_______________________________________________
Patternfly-angular mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/patternfly-angular

Reply via email to