ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

[FEATURE REQUEST] Possibility to change ng-trim attribute of the inputs

Open VitaliyKim opened this issue 7 years ago • 3 comments

Hi all!

Need to handle SPACE characters. Angular trims it and does not call refresh in case SPACE entered, because ng-trim is true by default for inputs. Is it possible to give control over this attribute somehow?

Thank you for the great tool!

VitaliyKim avatar Oct 14 '17 07:10 VitaliyKim

Hi @VitaliyKim,

As described in the issue template we would like to have a full description with plunker and version. In the case we can have a look at the issue and reproduce the issue much quicker. At the moment I don't understand what the request is so please clarify?

Jefiozie avatar Oct 18 '17 05:10 Jefiozie

Hello,

I believe I have the same issue. I guess what @VitaliyKim said is it would be nice to have the option to not trim the input.

For instance, with the candidates:

"foo"
"  bar"
"    baz"

I would like to search and display the white spaces. For the candidate list and for the selected candidate, it can be done with CSS. But for the input, we currently have to customize the template, adding an option to specify the ng-trim value would be better.

Here is a plunkr showing that, with version 0.19.8.

glutentag avatar Aug 06 '18 06:08 glutentag

needed feature, thumb up

kamwoz avatar Nov 14 '18 11:11 kamwoz