Skip to content

feat(web/dialog): Support default values#66

Merged
LukeWasTakenn merged 5 commits intooverextended:masterfrom
antond15:dialog-tweaks
Aug 5, 2022
Merged

feat(web/dialog): Support default values#66
LukeWasTakenn merged 5 commits intooverextended:masterfrom
antond15:dialog-tweaks

Conversation

@antond15
Copy link
Copy Markdown
Member

@antond15 antond15 commented Aug 4, 2022

  • Placeholders for input and number type
  • Default values for input, number and checkbox type

image

Copy link
Copy Markdown
Member

@LukeWasTakenn LukeWasTakenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, do you want to do default for select as well?

You'd have to pass one of the values to a default property then iterate the options array and if it matches one of the values call the handleChange function for that value, otherwise just don't set any defaults.

Could you also please update the documentation?

@antond15
Copy link
Copy Markdown
Member Author

antond15 commented Aug 5, 2022

Could you also please update the documentation?

👍 overextended/overextended.github.io#35

Copy link
Copy Markdown
Member

@LukeWasTakenn LukeWasTakenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you so much.

@LukeWasTakenn LukeWasTakenn merged commit 1990e37 into overextended:master Aug 5, 2022
@antond15 antond15 deleted the dialog-tweaks branch August 5, 2022 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants