gwt-material-addins
gwt-material-addins copied to clipboard
MaterialAutoComplete does not fire events
Hi guys. I have already reported my problem on Gitter
I have a MaterialAutoComplete like this
xmlns:ma="urn:import:gwt.material.design.addins.client"
...
<m:MaterialRow grid="12" ui:field="materialRowAutocompleteNegozi">
<m:MaterialColumn grid="s4" >
<ma:autocomplete.MaterialAutoComplete ui:field="autocompleteNegozi" placeholder="Negozio" limit="1" directInputAllowed="false" />
</m:MaterialColumn>
</m:MaterialRow>
It works fine... When I tap some characters, a list appears:

The problem occours when I select an Item, using mouse or using keyboard's arrows:

This is the result. Instead a chip layout I have a Text layout. It's not the biggest problem.. the real problem is that events do not rise (SelectionHandler and ValueChangedHandler) and autocomplete.GetValue() return an empty list
There is a solution for this? Thanks Alessandro
Hi @kevzlou7979 , do you think it's a bug or a mine implementation problem? A friend of mine use the MaterialAutoComplete without problems... in the same way I use it...
Do you have a workaround? Thanks
Do you have a type="TEXT" , if yes, then you are using the wrong type.
I have not understand... where should I have type TEXT?