Visually configure autocomplete in Wicket

How can I visually adjust the autocomplete fields in Wicket (change colors, fonts, etc.)?

+4
source share
2 answers

You can use CSS to change the appearance of this component. For the Ajax autocomplete component in 1.3, the element you want to override is div.wicket-aa, so for example, you can:

div.wicket-aa { background-color:white; border:1px solid #CCCCCC; color:black; } div.wicket-aa ul { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; padding:5px; } div.wicket-aa ul li.selected { background-color:#CCCCCC; } 
+9
source

Perilandmishap is probably the most helpful answer for your needs. Personally, I always thought that automatic full Ajax control by default in Wicket would be extremely inadequate for my needs. If you really want the professional “feeling” of your car to be completed, use the Wicket Ajax libraries to minimize.

+1
source

Source: https://habr.com/ru/post/1276736/


All Articles