Commit Graph
33 Commits
Author SHA1 Message Date
Luke 6c4485b570 feat(web/input): color input field 2023-01-08 11:23:50 +01:00
Luke 44c91f1cf4 refactor(web/input): reset input form on close 2023-01-04 13:52:39 +01:00
Luke 855405da77 refactor(web/input): use mantine password field component 2023-01-04 13:51:24 +01:00
Luke 4f2eaeae15 refactor(web/input): remove input state 2023-01-04 13:28:40 +01:00
Luke d0811be0ce refactor(web/input): use form control instead of controlled state 2023-01-03 18:55:02 +01:00
Luke f9ff2fe6d4 refactor(web/dialog): use fade transition 2022-12-31 15:05:01 +01:00
Luke c419474969 refactor(web/input): input dialog mantine rewrite 2022-12-16 15:00:01 +01:00
Luke abff60d4ed fix(web): fix values persisting across input dialogs opened quickly 2022-12-16 09:40:28 +01:00
Luke 8ad04de0bc refactor(web/input): move field components into fields folder 2022-10-27 14:22:15 +02:00
Luke 6a8eb35a0a feat(client/interface): close functions for input and alert dialogs 2022-09-29 11:39:30 +02:00
Luke 4a5251b60b chore(web): add prettier and format 2022-08-27 15:58:36 +02:00
Luke 0bc185ef38 feat(web): developer drawer
Move all debug functions into a single developer drawer,

Not the best implementation as there is focus fighting going on between some elements and the drawer but will do for now without state management
2022-08-27 15:40:41 +02:00
Luke 9bd0b52749 refactor(web): prettier format for input dialog 2022-08-26 18:50:08 +02:00
Luke ae25d109fc fix(web): move input dialog enter handler
it was causing issues where when confirming a selection in the list menu it would instantly close the input dialog
2022-08-26 18:49:49 +02:00
ANTOND f3ca6ee504 feat(web/dialog): add slider input type (#69) 2022-08-10 21:05:27 +02:00
ANTONDandLinden cb5dac6151 refactor(web/dialog): split interfaces (#68)
* tweak(interface/menu): SetNuiFocusKeepInput

Default to allow input; disable with "disableInput = false" during registration.

* refactor(web/dialog): Split interfaces

for better typing of row options for different input types

* fix(web/dialog): Use proper type for onChange event

Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2022-08-09 23:50:14 +02:00
ANTOND 1990e3792f feat(web/input): support default values (#66)
* feat(web/dialog): Support placeholders

* feat(web/dialog): Support default values

* feat(web/dialog): Support default state of checkbox

* feat(web/dialog): Support placeholder for number input

* feat(web/dialog): Support default value for select
2022-08-05 15:10:37 +02:00
Luke a3b8154b3e feat(web/input): submit on enter press 2022-06-19 15:13:43 +02:00
Luke 5183607279 feat(web/input): number input type 2022-06-19 14:57:03 +02:00
Luke 7b6cf6682f feat(web/input): display value when no label is provided for select 2022-06-11 11:59:00 +02:00
Luke 186014f95e feat(web/dialog): alert dialog 2022-06-11 11:33:15 +02:00
Luke d3ab996204 chore(web/dialog): remove leftover print 2022-05-21 20:55:52 +02:00
Luke 48dae99cc0 refactor(web/dialog): Separate fields into individual components 2022-05-03 15:08:28 +02:00
Luke 64a1ad9343 feat(web/dialog): Add option for left icon on input field 2022-05-03 14:36:33 +02:00
ANTOND 6b7d24c71b refactor(web/dialog): Use conventional naming 2022-05-03 01:03:02 +02:00
ANTOND 5c6b08445a fix(web/dialog): Handle multiple password states 2022-05-03 00:19:02 +02:00
ANTOND 1cb407903f feat(web/dialog): Add password option to input 2022-05-02 23:14:27 +02:00
Luke 56f178af79 feat(web/dialog): Add Select input type 2022-05-02 20:18:16 +02:00
Luke adafbce79f fix(web/dialog): Use locales for buttons 2022-05-02 14:45:06 +02:00
Luke 0259de8dfe feat(web/dialog): Add checkbox type 2022-05-02 13:51:08 +02:00
Luke f74a16d2c2 fix(web/input): Reset input data state on open
When putting data in the fields, after closing the dialog and opening it again the data wouldn't be visible but if you were to press confirm again then it would send the previous data
2022-04-19 10:44:17 +02:00
Luke 7996e913dc fix(nui): Update input dialog font 2022-04-12 14:38:01 +02:00
Luke 993b06e880 refactor(nui): Better organize components 2022-04-01 21:41:53 +02:00