Commit 908fba1
fix(ui): prevent slug field error tooltip from hiding lock button (#15885)
Moves the slug field's `Generate` / `Lock` / `Unlock` buttons inside the
input (via `TextInput`'s `AfterInput` slot) so the validation error
tooltip - which renders above the field - no longer covers them and
locks the user out of unlocking the input.
The input reserves space with `padding-inline-end` so long values don't
run under the buttons.
Fixes #14827.
#### Before
<img width="1079" height="127" alt="before"
src="https://github.com/user-attachments/assets/e4184308-7a92-421b-b9a1-76470e9b8132"
/>
### After
<img width="652" height="195" alt="Screenshot 2026-07-07 at 10 43 14 AM"
src="https://github.com/user-attachments/assets/e4a2d1b9-f0fc-4d5a-933d-48ac1e082bff"
/>
<img width="647" height="197" alt="Screenshot 2026-07-07 at 10 43 31 AM"
src="https://github.com/user-attachments/assets/d0fbaf69-06ba-43c9-b3a9-85488c7347e5"
/>
##### With long text
<img width="420" height="202" alt="Screenshot 2026-07-07 at 11 53 47 AM"
src="https://github.com/user-attachments/assets/3c2b8707-a6b1-43cb-82d1-ac14f71d9806"
/>
---------
Co-authored-by: Patrik Kozak <35232443+PatrikKozak@users.noreply.github.com>1 parent f23b693 commit 908fba1
3 files changed
Lines changed: 64 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
12 | 28 | | |
13 | 29 | | |
14 | | - | |
| 30 | + | |
15 | 31 | | |
16 | 32 | | |
17 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 78 | | |
89 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
90 | 104 | | |
91 | 105 | | |
92 | 106 | | |
| 107 | + | |
93 | 108 | | |
94 | 109 | | |
95 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
189 | 210 | | |
190 | 211 | | |
191 | 212 | | |
| |||
0 commit comments