Commit Graph
16 Commits
Author SHA1 Message Date
Luke adf0994b3f feat(web): ability to not be able to close the context menu 2022-09-08 10:05:44 +02:00
Luke 4a5251b60b chore(web): add prettier and format 2022-08-27 15:58:36 +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 4fc6366801 feat(web/context): allow displaying icons in context menu items 2022-07-07 14:53:36 +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 a7e2dc0067 feat(web/context): images in metadata 2022-06-11 11:49:25 +02:00
Luke a784726267 feat(web/context): allow custom metadata order 2022-05-08 13:18:09 +02:00
Luke 62d4812f24 feat(web/context): allow manually sorting the options
In order to have the options in the same order as defined, you need to not use keys, instead a normal index table and define the title for the option
2022-05-08 13:00:23 +02:00
Luke 48dae99cc0 refactor(web/dialog): Separate fields into individual components 2022-05-03 15:08:28 +02:00
Luke 08d2234484 feat(web/context): Allow manually displaying an arrow 2022-04-19 15:08:02 +02:00
Luke d6b21a0481 feat(nui): Context menu Lua callbacks 2022-04-01 21:22:14 +02:00
Luke a7dd713b6b feat(nui): Context menu sub menus 2022-03-28 16:49:07 +02:00
Luke ac832d4840 refactor(nui): Move context items into separate files 2022-03-27 18:17:26 +02:00