Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Ability to disable Dialog UI elements #474

Closed
Sfinx opened this issue Mar 21, 2017 · 2 comments
Closed

[Request] Ability to disable Dialog UI elements #474

Sfinx opened this issue Mar 21, 2017 · 2 comments
Milestone

Comments

@Sfinx
Copy link

Sfinx commented Mar 21, 2017

Hello,

It will be good to have ability to enable/disable the Dialog elements (inputs, radios buttons, etc.) using the simple id selector.

let dlg = new Dialog(form: { comments_input: {} } … buttons[id:‘agree_button’, disabled: true …])
…
dlg.id('comments_input').disable()
dlg.id(‘agree_button’).enable()
@rstoenescu rstoenescu added this to the v0.15 milestone Mar 21, 2017
@Sfinx
Copy link
Author

Sfinx commented Mar 22, 2017

May be it will be good idea to add generic id access interface to most Quasar components ? Something like uiComponent.id['some_children'].some_children_method(). So it will be very easy to add the above enable/disable methods or even not to add them if they already exist ;)

@rstoenescu
Copy link
Member

Hi, Closing this as v0.15 now has an extra component (QDialog) with which you can tweak the content to your specific needs.

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

No branches or pull requests

2 participants