Commit Graph

16 Commits

Author SHA1 Message Date
BerkieBb
3c0136afd8 feat(web/input): returnString for date inputs (#411)
* feat(interface/input): useFormat field

* feat(interface/input): useFormat field

* feat(types/dialog): useFormat field

* feat(components/date): format date conversion

* tweak(components/date): forgot other data type

* chore(interface/input): more descriptive name

* chore(interface/input): more descriptive name

* chore(types/dialog): more descriptive name

* tweak(components/date): reset things

* feat(dialog/input): date conversion with returnString

* refactor(web/input): remove unnecessary state

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-09-11 23:17:35 +02:00
Galuža moree
2fca9491ba fix(interface/input): add missing color type to typings (#407)
Add color option
2023-09-01 20:13:16 +02:00
Linden
c4b87a0d91 refactor(client/interface): nui focus consistency 2023-03-23 05:55:16 +11:00
Diogo Manuel Coelho Morais dos Santos
fc6a95c73c fix(interface): Add table<string, string> to icon typings (#261) 2023-03-11 06:38:34 +11:00
Linden
b3b49b1cbd fix: missing and invalid types and parameters 2023-02-25 18:20:14 +11:00
Luke
e57460c611 refactor(client): add missing lua typings 2023-02-17 11:28:55 +01:00
Luke
9a92729a30 feat(web/input): allowCancel option 2023-01-11 20:54:29 +01:00
Luke
a6a0e4905f feat(web/input): description tooltip on fields 2022-10-27 13:45:27 +02:00
davidxd33
4f69c7c5c1 feat(interface/dialog): disabled row property (#142)
* feat(interface/dialog): readonly, disabled flags

* Update TS prop types

* refactor(web/input): remove read only property

Co-authored-by: davidxd33 <dponce@gmail.com>
2022-10-27 09:17:53 +02:00
Luke
6a8eb35a0a feat(client/interface): close functions for input and alert dialogs 2022-09-29 11:39:30 +02:00
Linden
6254ba9ba2 refactor(resource/interface): formatting and type definitions 2022-09-18 09:06:32 +10:00
Luke
82d052a1bb fix(client/interface): cache input promise
Caching the promise into a variable allows us to set input to nil and resolve the promise after, which fixes an issue with opening 2 input dialogs back to back
2022-08-17 23:42:36 +02:00
Luke
953673690c fix(web): clear nui focus from input before resolving the promise 2022-08-15 14:50:00 +02:00
Luke
0259de8dfe feat(web/dialog): Add checkbox type 2022-05-02 13:51:08 +02:00
Linden
f4e0739b04 fix(interface/textui): localise input 2022-04-18 23:30:58 +10:00
Luke
ff71a7d033 feat(client): Input dialog function 2022-04-11 15:26:10 +02:00