Commit graph

22 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
2bcf9cffe7 refac 2026-10-10 22:59:27 +04:00
Timothy Jaeryang Baek
7d205a86dc refac 2026-10-08 23:49:38 +04:00
G30
25948ea213
fix: block saving a prompt's input form when a required dropdown has no option chosen (#30078) 2026-09-19 15:42:39 -05:00
Classic298
556e48e058
fix: honor false defaults on checkbox prompt variables (#30037)
A prompt template with `{{flag | checkbox:default=false}}` opened the input variables form with the checkbox already ticked, and the same happened for `False`, `"false"`, `0` and `"0"`. Template defaults arrive as strings and the checkbox was bound straight to that value, so any non-empty string counted as checked and there was no way to define a checkbox that starts unchecked once a default was given.

The checkbox now reads its ticked state from the value explicitly: it is checked only for `true` (boolean or string) and stays unchecked for anything else, while clicking it still writes a boolean like before. The seeded value itself is left alone, so what gets substituted into the prompt for an untouched form is unchanged, and typing `true` or `false` into the text field next to the checkbox now moves the tick accordingly.

Fixes #30036
2026-09-16 15:44:29 -04:00
Timothy Jaeryang Baek
239cb74007 refac 2026-07-24 00:56:25 -04:00
Timothy Jaeryang Baek
1e88367cc8 refac 2026-07-24 00:43:31 -04:00
Jiwon Lee
9d020edf0f
fix: make native date/time picker icons visible in dark mode (#27275) 2026-07-23 22:23:46 -04:00
Timothy Jaeryang Baek
9499587c33 refac 2026-07-15 04:25:51 -04:00
Timothy Jaeryang Baek
aedb6bef4e refac 2026-07-14 04:15:20 -04:00
Timothy Jaeryang Baek
ebc9ccbe1c refac 2026-04-01 04:51:51 -05:00
Timothy Jaeryang Baek
0dcd6ac983 refac 2026-03-22 05:39:53 -05:00
Timothy Jaeryang Baek
ea515fa26e refac 2026-03-21 19:17:21 -05:00
Timothy Jaeryang Baek
7b2f597b30 refac 2026-03-07 17:52:58 -06:00
Timothy Jaeryang Baek
3ebb3e2143 refac: styling 2025-11-30 03:56:12 -05:00
Timothy Jaeryang Baek
d5824b1b49 refac: prompt template variable made not required by default 2025-09-15 11:18:31 -05:00
Jan Kessler
3802ab9fd1
translate '*required' string in prompts modal + added german translations 2025-09-10 15:03:12 +02:00
Timothy Jaeryang Baek
1a15a62b73 chore: format 2025-08-21 04:47:28 +04:00
silentoplayz
82ed9b0a97 i18n.t: updates 2025-08-13 20:15:16 -04:00
Timothy Jaeryang Baek
0765f6c230 refac 2025-07-08 22:56:46 +04:00
Timothy Jaeryang Baek
6f98379c82 enh: checkbox input variable 2025-07-08 21:33:51 +04:00
Timothy Jaeryang Baek
fc2fc6516e enh: autofocus to first input variable input 2025-07-06 14:31:32 +04:00
Timothy Jaeryang Baek
9f87a0cf21 feat: input variables
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-07-05 02:16:44 +04:00