Carlos Alexandro Becker
f03bfcc799
Merge remote-tracking branch 'origin/master' into v2-exp
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-10-01 17:29:32 -03:00
Carlos Alexandro Becker and GitHub
49ff5c03b7
fix(textinput): improve placeholder ( #768 )
...
similar to #767 but for textinputs
2025-10-01 10:22:53 -03:00
Carlos Alexandro Becker
d5bc1ac332
Merge remote-tracking branch 'origin/master' into v2-exp-update
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-03-25 11:31:38 -03:00
bashbunni and GitHub
9e5365e0ec
docs: add example for ValidateFunc ( #705 )
...
* docs(textinput): add ValidateFunc example
* chore: remove print statement
* chore: rename the -> this anonymous func
2025-03-25 10:51:14 -03:00
Carlos Alexandro Becker
71493456d9
Merge remote-tracking branch 'origin/master' into v2-exp
2025-03-13 16:55:11 -03:00
Pierre Rossi and Christian Rocha
0f9e38c9a7
Don't render suggestions when textinput is not focused.
...
This can look confusing in forms otherwise.
2025-01-28 09:24:43 -05:00
Carlos Alexandro Becker
fbe642df17
chore(deps): update
2025-01-14 15:34:37 -03:00
8624776d45
fix(textinput): slicing outside cap ( #532 )
...
* textinput: fix slicing outside cap
* textinput: add test that makes slicing outside cap occur
* chore: tidy with gofmt
---------
Co-authored-by: bashbunni <bunni@bashbunni.dev >
2024-12-05 13:40:33 -08:00
Kevin Miller and Maas Lalani
63b0917193
fix textinput.CurrentSuggestion() panic
...
When suggestions are not yet set CurrentSuggestion() will panic. This change fixes that with a guard and returns an empty string when there is no current suggestion.
2024-04-22 14:20:02 -04:00